markdown-extract 2.0.0

Extract sections of a markdown file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Document heading

This document has several headings that will all match the pattern `^%%`.

## %% (Heading 1)

Every heading should match.

# %% (Heading 2)

This one included.

## %% (Heading 3)

This heading would match, but since it's a child of Heading 2 it will be included in the previous section.