Class MultiMarkdown
Constructors
constructor
Create new instance.
Returns MultiMarkdown
Properties
complete Document
completeDocument: boolean
defaults to false
critic Markup
criticMarkup: boolean
defaults to false
critic Markup Accept
criticMarkupAccept: boolean
defaults to false
critic Markup Reject
criticMarkupReject: boolean
defaults to false
footnotes Enabled
footnotesEnabled: boolean
defaults to true
format
format: "html" | "epub" | "latex" | "beamer" | "memoir" | "odt" | "mmd"
Specify output format. Valid values are:
html: HTML. This is the default Markdown output.epub: ePublatex: LaTeXbeamermemoirodt: Open document formatmmd
markdown Compatibility Mode
markdownCompatibilityMode: boolean
defaults to false
no Labels
noLabels: boolean
defaults to true
no Metadata
noMetadata: boolean
defaults to false
obfuscate
obfuscate: boolean
defaults to false
process HTML
processHTML: boolean
defaults to true
random Footnotes
randomFootnotes: boolean
defaults to false
smart Quotes Enabled
smartQuotesEnabled: boolean
defaults to true
snippet Only
snippetOnly: boolean
defaults to false
transclude
transclude: boolean
defaults to false
Methods
render
Takes Markdown string passed and processes it with MultiMarkdown based on the properties and format selections on the object.
Parameters
- markdownStr: string
Returns string
Staticcreate
Create object
Returns MultiMarkdown

Drafts includes a full version of the MultiMarkdown 6 engine to render Markdown text to HTML and other supported formats. For details on the meaning of the various options, refer to MultiMarkdown documentation.
Example