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

Method reset

markdown/extensions/toc.py:482–484  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

480 md.treeprocessors.register(tocext, 'toc', 5)
481
482 def reset(self) -> None:
483 self.md.toc = ''
484 self.md.toc_tokens = []
485
486
487def makeExtension(**kwargs): # pragma: no cover

Callers 2

extendMarkdownMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected