Lucee object methods reference

Object Method String.MarkdownToHTML

Transforms Markdown formatted String into HTML.
String.MarkdownToHTML([boolean safeMode,[string encoding]]):string

Category

string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
safeMode boolean  No false If set to true it does escape unsafe HTML tags
encoding string  No   Charset, only used in case the argument markdown contains a file path