Import std.text.markdown
ParseMarkdown
function
Public Function ParseMarkdown(text: String, extensions: MarkdownExtensions = Usual): MarkdownNode
The Markdown as a tree, from its Document down, with the extensions, tables and task lists
unless they say others.
Examples
Local document = ParseMarkdown("# Title\n\nSome *text*.")
Expect(document.Kind == MarkdownKind.Document)
Expect(document.Children[0].Kind == MarkdownKind.Heading && document.Children[0].Level == 1)
Expect(document.Children[1].PlainText() == "Some text.")Report an issue with this page or with FutureBlitz on GitHub.