MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / run_postprocessors

Function run_postprocessors

markdown/extensions/toc.py:153–157  ·  view source on GitHub ↗

Run postprocessors from Markdown instance on text.

(text: str, md: Markdown)

Source from the content-addressed store, hash-verified

151
152
153def run_postprocessors(text: str, md: Markdown) -> str:
154 """ Run postprocessors from Markdown instance on text. """
155 for pp in md.postprocessors:
156 text = pp.run(text)
157 return text.strip()
158
159
160def 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