OptionalinitialOptionaleventsOptionalpluginsOptionalextendedlinks URLs written without <>, as GFM does, or with a custom parser
Optionallinkadded to the links rendered from markdown
OptionalcustomOptionalreferenceresolves link reference definitions ([label]: url)
Optionalcustomreplaces the default, DOMPurify-based sanitizer
Optionalfrontreads a --- block at the start as front matter
Optionalsmartshows straight quotes, --, --- and ... as typographic quotes, en and em dashes and ellipses in the
rendered markdown, outside code and URLs; the markdown keeps them as written. false by default
Optionalthemelight, dark or a custom theme, see docs/theming.md; light by default
Optionalwidgetsee docs/widget.md
Optionalautogives paragraphs, headings, lists, quotes and tables the direction of their own text, as on GitHub, for text in
more than one direction; false by default
plugins, or
[plugin, options]pairs