Markdown TOC generator with tree presentation and line numbers
Go to file
2024-04-29 21:44:39 +02:00
tests moved example markdown files to test dir 2024-04-29 09:33:28 +02:00
.gitignore dont put binaries in repo 2024-04-29 09:31:22 +02:00
main.go initial commit 2024-04-29 09:30:05 +02:00
Makefile added makefile 2024-04-29 09:35:02 +02:00
README.md updated README 2024-04-29 21:44:39 +02:00

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

  • count number of headings for each heading level (loop through all headings, find the highest heading level, get all used levels
    then create a slice or slice of maps and append after each deeper level discovered...)
  • add docs
  • delph deeper into different Markdown implementations (like CommonMark)