MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / build_postprocessors

Function build_postprocessors

markdown/postprocessors.py:39–44  ·  view source on GitHub ↗

Build the default postprocessors for Markdown.

(md: Markdown, **kwargs: Any)

Source from the content-addressed store, hash-verified

37
38
39def build_postprocessors(md: Markdown, **kwargs: Any) -> util.Registry[Postprocessor]:
40 """ Build the default postprocessors for Markdown. """
41 postprocessors = util.Registry()
42 postprocessors.register(RawHtmlPostprocessor(md), 'raw_html', 30)
43 postprocessors.register(AndSubstitutePostprocessor(), 'amp_substitute', 20)
44 return postprocessors
45
46
47class Postprocessor(util.Processor):

Callers 1

build_parserMethod · 0.85

Calls 3

registerMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…