ParseMarkDown (open)
Parses a MarkDown document, returns the parsed document tree
Syntax
LOADLIB "wh::filetypes/markdown.whlib";
RECORD FUNCTION ParseMarkDown(STRING text, RECORD options)
Parameters
STRING text
MarkDown document
RECORD options
Options
flavor
Flavor to parse. Allowed: 'commonmark' (default), 'webhare'.
tabwidth
Tab width
Return value
RECORD
See markdownitemdatacells
for which extra data cells are passed per type
children
Child nodes
type
'document'