Use / to close single tags (<br />).
This is only for full CommonMark compatibility.
optional
breaks: boolean
Convert \n in paragraphs into <br>
optional
langPrefix: string
CSS language prefix for fenced blocks.
Can be useful for external highlighters.
optional
linkify: boolean
Autoconvert URL-like text to links
optional
typographer: boolean
Enable some language-neutral replacement + quotes beautification
optional
quotes: string | string[]
Double + single quotes replacement pairs, when typographer enabled,
and smartquotes on. Could be either a String or an Array.
For example, you can use «»„“ for Russian, „“‚‘ for German,
and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
Highlighter function. Should return escaped HTML,
or '' if the source string is not changed and should be escaped externally.
If result starts with <pre... internal wrapper is skipped.