-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
Hi Mkdocs,
It seems that the attribute "level" for page.toc items is not the level of the "hx" in the markdown documents but the "global" level
With a title :
# title 1 ------> level 0
## title 2 -------> level 1
### titile 3 ------> level 2If there is not title :
## title 2 -------> level 0
### titile 3 ------> level 1Is there anyway to get the real level of headings ?
# title 1 ------> level 1
## title 2 -------> level 2
### titile 3 ------> level 3## title 2 -------> level 2
### titile 3 ------> level 3Regards,
pawamoy and timofarei