Closed charlesroper closed 2 years ago
You would only be able to render a single level of links. So lets say you have a document with the following structure
## Level 2 Heading A
### Some subtitle
## Level 2 Heading B
### Another subtitle
You would only realistically be able to generate it from the level 2 headings, the topmost heading.
Released in 0.0.25
Haha, wow, I posted this when I went to bed (was thinking about tomorrow's daily) and when I get back to my computer next day, you've already pushed the change. ❤️
Have just tried it and it works perfectly. Thank you!
Love this!
Just wondering if it would be possible to add an
inline
option to the styles? This would render a navbar style ToC, something like this:Item 1 | Item 2 | Item 3 | Item 4
Perhaps let people specify the delimiter, too?
Here is what the header of my daily notes look like. The to-do and notes links are generated by dynamic toc. You can see why I immediately wanted an inline ToC. :)
Many thanks!