markdown

fun markdown(lexer: Lexer, context: Context, expandFunctionCalls: Boolean): MarkdownContentValue

Return

a new value that wraps the root of the produced AST

Parameters

lexer

lexer to use to tokenize content

context

context to retrieve the pipeline from, which allows parsing and function expansion

expandFunctionCalls

whether enqueued function calls should be expanded instantly