How to create TOC for astrowind #350
Unanswered
abdelkareemkobo
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Hey, can you please tell me which libraries you found to implement a table of contents? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking for same, hope Devs put a documentation for implementing ToC |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @abdelkareemkobo, @masheeeen and @abhinavkakku Check Astro documentation: https://docs.astro.build/en/guides/markdown-content/#markdown-plugins import { defineConfig } from 'astro/config';
import remarkToc from 'remark-toc';
export default defineConfig({
markdown: {
// Applied to .md and .mdx files
remarkPlugins: [remarkToc],
},
}); Plugin documentation: https://github.com/remarkjs/remark-toc |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the proper way to add Table of contents into astrowind!
I have search the web and found multiple libs but i want to here the answer for an experience developer.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions