mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
markup/tableofcontents: Add config option for ordered list
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
186a5ebfca
commit
4c804319f6
@@ -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": {
|
||||
|
Reference in New Issue
Block a user