Settings

Theme

Toc v2 – Generate a table of contents from the comments of a file

github.com

1 points by AlphaJack · 1 comment

Reader

1 thread
AlphaJackOP

Hi all!

`toc` is a command line utility that generates the table of contents of a file from a special kind of comments.

Think it as a `tree` for the contents of a file, instead of a directory.

With version 2, I rewrote it in python for consistency and maintainability, and I added the possibility to embed the output in the original file

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection