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

Method run

markdown/preprocessors.py:86–91  ·  view source on GitHub ↗
(self, lines: list[str])

Source from the content-addressed store, hash-verified

84 """
85
86 def run(self, lines: list[str]) -> list[str]:
87 source = '\n'.join(lines)
88 parser = HTMLExtractor(self.md)
89 parser.feed(source)
90 parser.close()
91 return ''.join(parser.cleandoc).split('\n')

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
HTMLExtractorClass · 0.85

Tested by

no test coverage detected