This repository has been archived on 2025-01-17. You can view files and clone it, but cannot push or open issues or pull requests.

https://en.wikipedia.org/wiki/Markdown

There is no official Markdown specification and there are many different
implementations.
This seems intended by the creators of the language.

TODO

  • print header tree
  • delph deeper into different Markdown implementations (like CommonMark)
  • add support for "Setext-style headers"

logic ideas

For a tree structure you will probably need parent/child relationships.
You might need to create a parent and a child field in the header struct.

Description
Markdown TOC generator with tree presentation and line numbers
Readme 1.3 MiB
Languages
Go 92.9%
Makefile 7.1%