[ci] yarn format
This commit is contained in:
parent
679d4395ec
commit
c22e4c69ec
1 changed files with 8 additions and 8 deletions
|
@ -18,8 +18,8 @@ export default {
|
||||||
'parser-name', // or import('parser-name') or (contents) => {...}
|
'parser-name', // or import('parser-name') or (contents) => {...}
|
||||||
{
|
{
|
||||||
// options
|
// options
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
@ -33,7 +33,7 @@ In addition to custom components inside the [`<Markdown>` component](/guides/mar
|
||||||
- [GitHub-flavored Markdown](https://github.com/remarkjs/remark-gfm)
|
- [GitHub-flavored Markdown](https://github.com/remarkjs/remark-gfm)
|
||||||
- [remark-smartypants](https://github.com/silvenon/remark-smartypants)
|
- [remark-smartypants](https://github.com/silvenon/remark-smartypants)
|
||||||
- [rehype-slug](https://github.com/rehypejs/rehype-slug)
|
- [rehype-slug](https://github.com/rehypejs/rehype-slug)
|
||||||
- [Prism](https://prismjs.com/)
|
- [Prism](https://prismjs.com/)
|
||||||
|
|
||||||
Also, Astro supports third-party plugins for Markdown. You can provide your plugins in `astro.config.mjs`.
|
Also, Astro supports third-party plugins for Markdown. You can provide your plugins in `astro.config.mjs`.
|
||||||
|
|
||||||
|
@ -60,9 +60,9 @@ export default {
|
||||||
// If you need to provide options for the plugin, you can use an array and put the options as the second item.
|
// If you need to provide options for the plugin, you can use an array and put the options as the second item.
|
||||||
// 'rehype-slug',
|
// 'rehype-slug',
|
||||||
// ['rehype-autolink-headings', { behavior: 'prepend'}],
|
// ['rehype-autolink-headings', { behavior: 'prepend'}],
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
@ -79,8 +79,8 @@ export default {
|
||||||
remarkPlugins: [
|
remarkPlugins: [
|
||||||
[import('remark-autolink-headings'), { behavior: 'prepend' }],
|
[import('remark-autolink-headings'), { behavior: 'prepend' }],
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue