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
Copy file name to clipboardExpand all lines: _includes/toc.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
20
20
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
21
21
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
22
+
* base_url (string) : '' - add an base url to the TOC links for when your TOC is on an other page than the actual content
22
23
23
24
Output:
24
25
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
0 commit comments