Hugo `markup.tableOfContents.endLevel` reject valid values
Closed this issue · 0 comments
xoxys commented
Area with issue?
JSON Schema
✔️ Expected Behavior
Is valid, see hugo code:
markup:
tableOfContents:
endLevel: -1
Is valid, see hugo code:
markup:
tableOfContents:
endLevel: 99
❌ Actual Behavior
Reports -1 is less than the minimum of 1
:
markup:
tableOfContents:
endLevel: -1
Reports 99 is greater than the maximum of 6
:
markup:
tableOfContents:
endLevel: 99
YAML or JSON file that does not work.
See snippets above.
IDE or code editor.
Visual Studio Code
Are you making a PR for this?
No, someone else must create the PR.