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

Method reset

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

Source from the content-addressed store, hash-verified

488 md.treeprocessors.register(tocext, 'toc', 5)
489
490 def reset(self) -> None:
491 self.md.toc = ''
492 self.md.toc_tokens = []
493
494
495def makeExtension(**kwargs): # pragma: no cover

Callers 2

extendMarkdownMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected