Skip to content
md53qe3Public

About

Generate a table of contents for Markdown files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

md-toc

Walks a Markdown document and emits a nested table of contents.

Why

Extracted from a larger codebase where it had grown organically.

Install

pip install md-toc

Usage

from md_toc import mdToc

result = mdToc("example")
print(result)

Notes

  • No runtime dependencies outside the standard library.
  • Tested on Python 3.9 and newer.

License

MIT

About

Generate a table of contents for Markdown files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages