You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for the plugin. It works like a charm with markdown-it-anchor.
However, I got a small problem...
Is it possible to generate a ToC in a build script without having [[toc]] in my .md files?
If yes, how the function would look like?
(This function should return the html ToC snippet: <nav class="table-of-contents">...</nav>)
Why I'd like to do this?
Because of my html template, I'd like to paste html ToC in some outside CSS div.
Thanks a lot for your help.
The text was updated successfully, but these errors were encountered:
Hello,
First, thanks for the plugin. It works like a charm with
markdown-it-anchor
.However, I got a small problem...
Is it possible to generate a ToC in a build script without having
[[toc]]
in my.md
files?If yes, how the function would look like?
(This function should return the
html
ToC snippet:<nav class="table-of-contents">...</nav>
)Why I'd like to do this?
Because of my
html
template, I'd like to pastehtml
ToC in some outside CSSdiv
.Thanks a lot for your help.
The text was updated successfully, but these errors were encountered: