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

Function run_postprocessors

markdown/extensions/toc.py:131–135  ·  view source on GitHub ↗

Run postprocessors from Markdown instance on text.

(text: str, md: Markdown)

Source from the content-addressed store, hash-verified

129
130
131def run_postprocessors(text: str, md: Markdown) -> str:
132 """ Run postprocessors from Markdown instance on text. """
133 for pp in md.postprocessors:
134 text = pp.run(text)
135 return text.strip()
136
137
138def render_inner_html(el: etree.Element, md: Markdown) -> str:

Callers 2

render_inner_htmlFunction · 0.85
runMethod · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…