Enable GFM line breaks. This option requires the gfm option to be true.
Custom CSS.
Custom document ID.
Custom document title.
Enable GitHub flavored markdown.
Set the prefix for header tag ids.
Set the prefix for code block classes.
Mangle autolinks (email@domain.com).
Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
Type: object Default: new Renderer()
An object containing functions to render tokens to HTML.
Sanitize the output. Ignore any HTML that has been input.
Shows an HTML error message when rendering fails.
Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.
Use "smart" typograhic punctuation for things like quotes and dashes.
Enable GFM tables. This option requires the gfm option to be true.
Generate closing slash for self-closing tags (
instead of
)
A function to highlight code blocks. The function takes three arguments: code, lang, and callback.
Optionally sanitize found HTML with a sanitizer function.
Generated using TypeDoc
Options for openting a Markdown document.