nea / MarkdownViewerPlusPlus

A Notepad++ Plugin to view a Markdown file rendered on-the-fly
MIT License
1.17k stars 143 forks source link

Feature Request: [toc] to generate a table of contents (e.g. Joplin) #131

Open xmatic opened 3 years ago

xmatic commented 3 years ago

Issue description

Feature Request: writing [toc] on top of a doc should generate a table of contents based on the heading-subheading hierarchy. Example of how Joplin does it: https://joplinapp.org/images/md_plugins/toc_plugin.jpg (more: https://joplinapp.org/markdown )

If anyone can give me a little guidance on how to add the feature myself (with or without forking), I'll be happy to try to do it myself. I know intermediate JavaScript, PHP and beginner Python. I've never contributed to a plugin before.