ParseMarkDown

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
flavor

Flavor to parse. Allowed: 'commonmark' (default), 'webhare'.

tabwith

Return value

RECORD

See markdownitemdatacells for which extra data cells are passed per type

children

Child nodes

type

'document'