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

Method setFootnote

markdown/extensions/footnotes.py:177–179  ·  view source on GitHub ↗

Store a footnote for later retrieval.

(self, id: str, text: str)

Source from the content-addressed store, hash-verified

175 return res
176
177 def setFootnote(self, id: str, text: str) -> None:
178 """ Store a footnote for later retrieval. """
179 self.footnotes[id] = text
180
181 def addFootnoteRef(self, id: str) -> None:
182 """ Store a footnote reference id in order of appearance. """

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected