retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.88k stars 196 forks source link

Generate table of contents from the markdown file #503

Open ahegazy opened 4 years ago

ahegazy commented 4 years ago

Hi, I hope you can provide this feature, the title sums it up I would like to have something like this https://ecotrust-canada.github.io/markdown-toc/ available in the tool thanks

Blackhawke commented 4 years ago

One solution might be to take a page from the developer of the Android app Epsilon Notes and add support for YAML, and an index file (he named it "index.txt") that can be updated as files are added to folder. The addition of a YAML parser would also extend ReText's functionality. Not a bad thing.