mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
markup/tableofcontents: Add config option for ordered list
This commit is contained in:
1 parent
1b9e675cd5
commit
79bf8ed4cd
2 files changed
+6
-2
No files matched your search
@@ -70,4 +70,7 @@ startLevel
|
||||
: The heading level, values starting at 1 (`h1`), to start render the table of contents.
|
||||
|
||||
endLevel
|
||||
: The heading level, inclusive, to stop render the table of contents.
|
||||
: The heading level, inclusive, to stop render the table of contents.
|
||||
|
||||
ordered
|
||||
: Whether or not to generate an ordered list instead of an unordered list.
|
||||
+2
-1
@@ -1387,7 +1387,8 @@
|
||||
},
|
||||
"tableOfContents": {
|
||||
"startLevel": 2,
|
||||
"endLevel": 3
|
||||
"endLevel": 3,
|
||||
"ordered": false
|
||||
},
|
||||
"goldmark": {
|
||||
"renderer": {
|
||||
|
||||
Reference in new issue
Block a user