diff options
author | 2022-04-02 14:15:41 -0600 | |
---|---|---|
committer | 2022-04-02 14:15:41 -0600 | |
commit | 1335797903a57716e9a02b0ffd8ca636b3883c62 (patch) | |
tree | d8835124fec7ab80bfbf25c6d9c5a57039a1c56d /examples/with-markdown-plugins/astro.config.mjs | |
parent | d63213f1198293e72bb9d9734bf4ec8309c515d4 (diff) | |
download | astro-1335797903a57716e9a02b0ffd8ca636b3883c62.tar.gz astro-1335797903a57716e9a02b0ffd8ca636b3883c62.tar.zst astro-1335797903a57716e9a02b0ffd8ca636b3883c62.zip |
update prettier width (#2968)
Diffstat (limited to 'examples/with-markdown-plugins/astro.config.mjs')
-rw-r--r-- | examples/with-markdown-plugins/astro.config.mjs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs index 114cbbd0a..4872caac7 100644 --- a/examples/with-markdown-plugins/astro.config.mjs +++ b/examples/with-markdown-plugins/astro.config.mjs @@ -6,6 +6,11 @@ export default defineConfig({ // Enable Custom Markdown options, plugins, etc. markdown: { remarkPlugins: ['remark-code-titles'], - rehypePlugins: [['rehype-autolink-headings', { behavior: 'prepend' }], ['rehype-toc', { headings: ['h2', 'h3'] }], [addClasses, { 'h1,h2,h3': 'title' }], 'rehype-slug'], + rehypePlugins: [ + ['rehype-autolink-headings', { behavior: 'prepend' }], + ['rehype-toc', { headings: ['h2', 'h3'] }], + [addClasses, { 'h1,h2,h3': 'title' }], + 'rehype-slug', + ], }, }); |