Update markdown.remark/rehypePlugins defaults for docs (#3321)

Updating defaults used in the documentation
This commit is contained in:
Sarah Rainsberger 2022-05-11 12:24:26 -03:00 committed by GitHub
parent ca4e3aa048
commit 74510a9607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: [],
* },
* };
* ```