MCPcopy
hub / github.com/Python-Markdown/markdown / run

Method run

markdown/preprocessors.py:56–63  ·  view source on GitHub ↗

Each subclass of `Preprocessor` should override the `run` method, which takes the document as a list of strings split by newlines and returns the (possibly modified) list of lines.

(self, lines: list[str])

Source from the content-addressed store, hash-verified

54
55 """
56 def run(self, lines: list[str]) -> list[str]:
57 """
58 Each subclass of `Preprocessor` should override the `run` method, which
59 takes the document as a list of strings split by newlines and returns
60 the (possibly modified) list of lines.
61
62 """
63 pass # pragma: no cover
64
65
66class NormalizeWhitespace(Preprocessor):

Callers 2

convertMethod · 0.45
parseBlocksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected