wisconsintriada.blogg.se

Macdown app add table of contents
Macdown app add table of contents













macdown app add table of contents

MacDown uses, Editor.md (online markdown editor) uses, and I have seen several other apps that use ]. There are a lot of Markdown tools out there that use and understand a toc keyword. I'm not entirely sure, if I can agree with that. One thing that bothers me with this ] markup is that it's a non-standard extension - it's understood by the plugin above but if you drop the Markdown in a text editor or convert it with a standard md2html converter it won't do anything.īasically, it seems we're moving away from the concept of durable data, which works and makes sense even if Joplin stops working, or even if you want to move that data to a different note taking app.

macdown app add table of contents macdown app add table of contents

Right, this is exactly what this plugin is supposed to do you have any additional comments? Am I missing something here? I assume the most extensible way to do this is to have a util to extract the document outline from the markdown document separately from the rendering process, and return the headings in some format I've never really worked with any of these technologies before. The markdown-it engine just uses tokens to create the html output. Since it appears Joplin renders HTML using some custom code, wouldn't we then have to manually extract all the headings from the document and use that information to generate the TOC?Īccording to the plugin, the plugin reads the markdown to build the TOC. Yep, as far as I have understood this process, yes. Hi, I was looking at this issue and I was wondering if I understood this correctly: if we want to add a TOC to a note, one way to to do this is to use the plugin mentioned above to so markdown-it will be able to parse TOC tokens for ], which we can then use in renderTokens_() to figure out where to insert a TOC in the rendered HTML?















Macdown app add table of contents