Method Parser.Markdown.parse()
- Method
parse
stringparse(stringmd,void|mappingoptions)- Description
Convert markdown
mdto html- Parameter
options "gfm":boolEnable Github Flavoured Markdown. (true)
"tables":boolEnable GFM tables. Requires "gfm" (true)
"breaks":boolEnable GFM "breaks". Requires "gfm" (false)
"pedantic":boolConform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior. (false)
"sanitize":boolSanitize the output. Ignore any HTML that has been input. (false)
"mangle":boolMangle (obfuscate) autolinked email addresses (true)
"smart_lists":boolUse smarter list behavior than the original markdown. (true)
"smartypants":boolUse "smart" typographic punctuation for things like quotes and dashes. (false)
"header_prefix":stringAdd prefix to ID attributes of header tags (empty)
"xhtml":boolGenerate self closing XHTML tags (false)
"newline":boolAdd a newline after tags. If false the output will be on one line (well, newlines in text will be kept). (false)
"renderer":RendererUse this renderer to render output. (Renderer)
"lexer":LexerUse this lexer to parse blocks of text. (Lexer)
"inline_lexer":InlineLexerUse this lexer to parse inline text. (InlineLexer)
"parser":ParserUse this parser instead of the default. (Parser)