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 textMarkDown document
RECORD optionsOptions
flavorFlavor to parse. Allowed: 'commonmark' (default), 'webhare'.
tabwidthTab width
Return value
RECORDSee markdownitemdatacells for which extra data cells are passed per type
childrenChild nodes
type'document'