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
I wanted to add a sidebar with table of contents and found some insightful code from one of the github issues (here). This is working out fine for normal markdown files. However, I normally write my content in org-mode and then convert it to markdown and including the file using a short code, i.e.
Using this method, the headers are not listed under the table of contents. I suspect the short code is included after the table of contents is loaded, is there a way to load the table of contents from a short code include filed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I wanted to add a sidebar with table of contents and found some insightful code from one of the github issues (here). This is working out fine for normal markdown files. However, I normally write my content in org-mode and then convert it to markdown and including the file using a short code, i.e.
Using this method, the headers are not listed under the table of contents. I suspect the short code is included after the table of contents is loaded, is there a way to load the table of contents from a short code include filed?
Beta Was this translation helpful? Give feedback.
All reactions