Update markdown.remark/rehypePlugins defaults for docs (#3321)
Updating defaults used in the documentation
This commit is contained in:
parent
ca4e3aa048
commit
74510a9607
1 changed files with 2 additions and 2 deletions
|
@ -563,7 +563,7 @@ export interface AstroUserConfig {
|
|||
* {
|
||||
* markdown: {
|
||||
* // Example: The default set of remark plugins used by Astro
|
||||
* remarkPlugins: ['remark-code-titles', ['rehype-autolink-headings', { behavior: 'prepend' }]],
|
||||
* remarkPlugins: ['remark-gfm', 'remark-smartypants'],
|
||||
* },
|
||||
* };
|
||||
* ```
|
||||
|
@ -582,7 +582,7 @@ export interface AstroUserConfig {
|
|||
* {
|
||||
* markdown: {
|
||||
* // Example: The default set of rehype plugins used by Astro
|
||||
* rehypePlugins: ['rehype-slug', ['rehype-toc', { headings: ['h2', 'h3'] }], [addClasses, { 'h1,h2,h3': 'title' }]],
|
||||
* rehypePlugins: [],
|
||||
* },
|
||||
* };
|
||||
* ```
|
||||
|
|
Loading…
Reference in a new issue