-THE DESCRIPTION-
A Table Of Contents is a block which can be put so that you can skip between chapters or headings without scrolling down to your favourite chapter or place.A Table Of Contents can be written in CSS as:
[[toc]]
But now after you put this nothing happens as your Table Of Contents is empty, to fix this, put some headings and now you're ready!
Rayyan
I am Rayyan Faaris and I am cool :)
About Me
I like to make videos and code. My YouTube channel is Dr. ELECTRON, please subscribe and like this snippet! Hope you like it!
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by Rayyan Faaris
How to use a Tag - 15 Apr 2022 07:44
Links - 15 Apr 2022 02:08
Headings - 14 Apr 2022 22:46
Rate this solution
If you think this solution is useful — rate it up!
This is how to utilize this, and it's one of the most efficient ways to organize your content on a page.
Additionally, ensure you utilize headers to allow portions of info to be emitted on your TOC.
:-)
Edit: realized this is not clear, you do headers like such: * [text] (make sure there is a space!)