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

Method reset

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

Source from the content-addressed store, hash-verified

511 md.treeprocessors.register(tocext, 'toc', 5)
512
513 def reset(self) -> None:
514 self.md.toc = ''
515 self.md.toc_tokens = []
516
517
518def makeExtension(**kwargs): # pragma: no cover

Callers 2

extendMarkdownMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected