diff options
author | 2023-10-04 17:55:02 +0800 | |
---|---|---|
committer | 2023-10-04 17:55:02 +0800 | |
commit | 71618f4074244ec203d154788b4aff29fce094dd (patch) | |
tree | 48bd4614a01a93945e4eae15272c334dfe9dab83 | |
parent | 240d8ff7c9e70594aca28d22793827e9bc717ef7 (diff) | |
download | astro-71618f4074244ec203d154788b4aff29fce094dd.tar.gz astro-71618f4074244ec203d154788b4aff29fce094dd.tar.zst astro-71618f4074244ec203d154788b4aff29fce094dd.zip |
Fix markdown rehype plugin example (#8733)
-rw-r--r-- | packages/astro/src/@types/astro.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index eab00891d..393932d99 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1168,10 +1168,10 @@ export interface AstroUserConfig { * Pass [rehype plugins](https://github.com/remarkjs/remark-rehype) to customize how your Markdown's output HTML is processed. You can import and apply the plugin function (recommended), or pass the plugin name as a string. * * ```js - * import rehypeMinifyHtml from 'rehype-minify'; + * import { rehypeAccessibleEmojis } from 'rehype-accessible-emojis'; * { * markdown: { - * rehypePlugins: [rehypeMinifyHtml] + * rehypePlugins: [rehypeAccessibleEmojis] * } * } * ``` |