Splitting markdown files based on specified headers.
Strip split headers from the content of the chunk
Optional dict mapping header patterns to their levels.
For example: {"**": 1, "***": 2} to treat **Header** as level 1 and
***Header*** as level 2 headers.