How can I generate a sidebar table of contents (TOC) based on my file? #1373
-
How can I generate a sidebar table of contents (TOC) based on my file? |
Beta Was this translation helpful? Give feedback.
Answered by
Timeless0911
Sep 2, 2024
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
huyixi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rspress/packages/core/src/node/mdx/loader.ts
Lines 175 to 182 in 6cc6969
rspress/packages/core/src/node/mdx/remarkPlugins/toc.ts
Lines 74 to 85 in 6cc6969