CMark.Sections

Parse Markdown to trees

commonmarkToAnnotatedNodes

nodesToDocument

data Annotated a

data Section a b

data Document a b

Work with parsed trees

flattenDocument

flattenSection

flattenTree

flattenForest