From 74510a96078a2bce0cc797a39070469444164394 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Wed, 11 May 2022 12:24:26 -0300 Subject: [PATCH] Update markdown.remark/rehypePlugins defaults for docs (#3321) Updating defaults used in the documentation --- packages/astro/src/@types/astro.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 117a1e257a..e57126180b 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -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: [], * }, * }; * ```