Skip to content

Question: how to show all headers in left-side sidebar? #3515

Answered by Andre601
linrongbin16 asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps it may work if you add the toc extension and define a toc_depth here:

markdown_extensions:
  - toc:
      toc_depth: 3

The number sets the lowest header level to include, which in my example would be h1 to and with h3

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@linrongbin16
Comment options

Answer selected by linrongbin16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants