Skip to content

Set a level for headings in the toc. #939

Discussion options

You must be logged in to vote
  1. There is no built-in way to change the depth of its toc item without affecting the heading level. The only option is to manipulate the TOC array in your page.tsx passed to the DocsPage component.

  2. You can use the MDX syntax, instead of markdown syntax. The heading JSX elements won't be included in TOC.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dev-universal-parallel
Comment options

Answer selected by dev-universal-parallel
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