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

Method run

markdown/postprocessors.py:58–65  ·  view source on GitHub ↗

Subclasses of `Postprocessor` should implement a `run` method, which takes the html document as a single text string and returns a (possibly modified) string.

(self, text: str)

Source from the content-addressed store, hash-verified

56 """
57
58 def run(self, text: str) -> str:
59 """
60 Subclasses of `Postprocessor` should implement a `run` method, which
61 takes the html document as a single text string and returns a
62 (possibly modified) string.
63
64 """
65 pass # pragma: no cover
66
67
68class RawHtmlPostprocessor(Postprocessor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected