mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 17:34:50 -04:00
markup/tableofcontents: Add config option for ordered list
This commit is contained in:
parent
8c2bd1a620
commit
3974c326c6
@ -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.
|
||||
|
@ -1387,7 +1387,8 @@
|
||||
},
|
||||
"tableOfContents": {
|
||||
"startLevel": 2,
|
||||
"endLevel": 3
|
||||
"endLevel": 3,
|
||||
"ordered": false
|
||||
},
|
||||
"goldmark": {
|
||||
"renderer": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user