Open vvasuki opened 7 years ago
I get the idea. But the output will not only print the table of contents but the whole markdown content. There should be a copy paste button to make life easier.
This is what you want ? https://github.com/rasbt/markdown-toclify#advanced-options
But the output will not only print the table of contents but the whole markdown content.
The output could just replace the input in the input box.
That's good!
BTW, Would you be interested in making this an intellij plugin?
I use Intellij everyday, but never looked how to make an Intellij plugin.
The advantage of a website for all users is that we don't have to install anything.
For this one, I looked at other TOC generators. To avoid the erasure of existing [Back to top] links, they wrap the links in comments
<!-- START -->
[Back to top]
<!-- END -->
But the HTML comment cannot be output as text. So the markdown output has to support comment and "copy-paste" https://github.com/raychenon/play-table-of-contents/issues/9 Once it is done, I can work on [Back to top] links .
Since addition of these [Back to top]
links is optional, it's ok if it overwrites (the website can warn users that this can happen). A partially functioning [Back to top]
addition feature is still very useful.
Will help navigation..