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

Method run

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

Source from the content-addressed store, hash-verified

483 self.footnotes = footnotes
484
485 def run(self, text: str) -> str:
486 text = text.replace(
487 FN_BACKLINK_TEXT, self.footnotes.getConfig("BACKLINK_TEXT")
488 )
489 return text.replace(NBSP_PLACEHOLDER, " ")
490
491
492def makeExtension(**kwargs): # pragma: no cover

Callers

nothing calls this directly

Calls 1

getConfigMethod · 0.80

Tested by

no test coverage detected