summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Kobe Ruado <insidiae423@gmail.com> 2023-10-04 17:55:02 +0800
committerGravatar GitHub <noreply@github.com> 2023-10-04 17:55:02 +0800
commit71618f4074244ec203d154788b4aff29fce094dd (patch)
tree48bd4614a01a93945e4eae15272c334dfe9dab83
parent240d8ff7c9e70594aca28d22793827e9bc717ef7 (diff)
downloadastro-71618f4074244ec203d154788b4aff29fce094dd.tar.gz
astro-71618f4074244ec203d154788b4aff29fce094dd.tar.zst
astro-71618f4074244ec203d154788b4aff29fce094dd.zip
Fix markdown rehype plugin example (#8733)
-rw-r--r--packages/astro/src/@types/astro.ts4
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]
* }
* }
* ```