class documentation
class Postprocessor(util.Processor): (source)
Known subclasses: markdown.extensions.footnotes.FootnotePostprocessor
, markdown.postprocessors.AndSubstitutePostprocessor
, markdown.postprocessors.RawHtmlPostprocessor
, markdown.postprocessors.UnescapePostprocessor
Postprocessors are run after the ElementTree it converted back into text. Each Postprocessor implements a "run" method that takes a pointer to a text string, modifies it as necessary and returns a text string. Postprocessors must extend markdown.Postprocessor.
Method | run |
Subclasses of Postprocessor should implement a `run` method, which takes the html document as a single text string and returns a (possibly modified) string. |
Inherited from Processor
:
Method | __init__ |
Undocumented |
Instance Variable | md |
Undocumented |
overridden in
markdown.extensions.footnotes.FootnotePostprocessor
, markdown.postprocessors.AndSubstitutePostprocessor
, markdown.postprocessors.RawHtmlPostprocessor
, markdown.postprocessors.UnescapePostprocessor
Subclasses of Postprocessor should implement a `run` method, which takes the html document as a single text string and returns a (possibly modified) string.