Fix markdown rehype plugin example (#8733)
This commit is contained in:
parent
240d8ff7c9
commit
71618f4074
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
* 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
|
* ```js
|
||||||
* import rehypeMinifyHtml from 'rehype-minify';
|
* import { rehypeAccessibleEmojis } from 'rehype-accessible-emojis';
|
||||||
* {
|
* {
|
||||||
* markdown: {
|
* markdown: {
|
||||||
* rehypePlugins: [rehypeMinifyHtml]
|
* rehypePlugins: [rehypeAccessibleEmojis]
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
|
|
Loading…
Reference in a new issue