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

Method run

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

Source from the content-addressed store, hash-verified

493 self.footnotes = footnotes
494
495 def run(self, text: str) -> str:
496 text = text.replace(
497 FN_BACKLINK_TEXT, self.footnotes.getConfig("BACKLINK_TEXT")
498 )
499 return text.replace(NBSP_PLACEHOLDER, " ")
500
501
502def makeExtension(**kwargs): # pragma: no cover

Callers

nothing calls this directly

Calls 1

getConfigMethod · 0.80

Tested by

no test coverage detected