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

Method run

markdown/extensions/footnotes.py:473–477  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

471 self.footnotes = footnotes
472
473 def run(self, text: str) -> str:
474 text = text.replace(
475 FN_BACKLINK_TEXT, self.footnotes.getConfig("BACKLINK_TEXT")
476 )
477 return text.replace(NBSP_PLACEHOLDER, " ")
478
479
480def makeExtension(**kwargs): # pragma: no cover

Callers

nothing calls this directly

Calls 1

getConfigMethod · 0.80

Tested by

no test coverage detected