Skip to content

Commit

Permalink
Re-added rehype-slug to reference
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanM04 committed Apr 29, 2022
1 parent 7a947ad commit 73e1610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ export interface AstroUserConfig {
* {
* markdown: {
* // Example: The default set of rehype plugins used by Astro
* rehypePlugins: [['rehype-toc', { headings: ['h2', 'h3'] }], [addClasses, { 'h1,h2,h3': 'title' }]],
* rehypePlugins: ['rehype-slug', ['rehype-toc', { headings: ['h2', 'h3'] }], [addClasses, { 'h1,h2,h3': 'title' }]],
* },
* };
* ```
Expand Down

0 comments on commit 73e1610

Please sign in to comment.