MarkdownParser::Parse

Parses a Markdown text string to HTML using the CommonMark specification.

Markdown is parsed in basic format with no additional fixups.

o.Parse(lcMarkdownText, llUtf8)

Return Value

HTML parsed from Markdown

Parameters

lcMarkdownText
The markdown text to parse to HTML

llUtf8
Convert the content to UTF-8 before passing to parser.

llDontSanitizeHtml
By default HTML is sanitized for scripts and other executable operations and embeds, but you can explicitly override with this flag to allow scripts etc. to render. If not specified the lSantizeHtmlFlag is used


See also:

Class MarkdownParser

© West Wind Technologies, 1996-2024 • Updated: 02/02/22
Comment or report problem with topic