Markdown formatter class for creating an html document from Markdown text
Return the document in XHTML format.
@returns: A serialized XHTML body.
Postprocessors are run before the dom it converted back into text.
Each Postprocessor implements a “run” method that takes a pointer to a NanoDom document, modifies it as necessary and returns a NanoDom document.
Postprocessors must extend markdown.Postprocessor.
There are currently no standard post-processors, but the footnote extension uses one.
This class is used for stashing HTML objects that we extract in the beginning and replace with place-holders.
Saves an HTML segment for later reinsertion. Returns a placeholder string that needs to be inserted into the document.
@param html: an html segment @param safe: label an html segment as safe for safemode @param inline: label a segmant as inline html @returns : a placeholder string