diff options
author | 2021-10-29 19:31:54 +0000 | |
---|---|---|
committer | 2021-10-29 19:31:54 +0000 | |
commit | 93489946ccd59c27d85cc9fa3a255edf6efeb861 (patch) | |
tree | 23b08860577f39d2fa2c29b52e6d42cfdd5d1bf6 /examples/with-markdown-plugins | |
parent | d84bfe719a546ad855640338d5ed49ad3aa4ccb4 (diff) | |
download | astro-93489946ccd59c27d85cc9fa3a255edf6efeb861.tar.gz astro-93489946ccd59c27d85cc9fa3a255edf6efeb861.tar.zst astro-93489946ccd59c27d85cc9fa3a255edf6efeb861.zip |
[ci] yarn format
Diffstat (limited to 'examples/with-markdown-plugins')
-rw-r--r-- | examples/with-markdown-plugins/astro.config.mjs | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs index a7a644944..8e70603a3 100644 --- a/examples/with-markdown-plugins/astro.config.mjs +++ b/examples/with-markdown-plugins/astro.config.mjs @@ -11,13 +11,16 @@ import astroRemark from '@astrojs/markdown-remark'; export default /** @type {import('astro').AstroUserConfig} */ ({ // Enable Custom Markdown options, plugins, etc. markdownOptions: { - render: [astroRemark, { - remarkPlugins: ['remark-code-titles', 'remark-slug'], - rehypePlugins: [ - ['rehype-autolink-headings', { behavior: 'prepend' }], - ['rehype-toc', { headings: ['h2', 'h3'] }], - ['rehype-add-classes', { 'h1,h2,h3': 'title' }], - ] - }] + render: [ + astroRemark, + { + remarkPlugins: ['remark-code-titles', 'remark-slug'], + rehypePlugins: [ + ['rehype-autolink-headings', { behavior: 'prepend' }], + ['rehype-toc', { headings: ['h2', 'h3'] }], + ['rehype-add-classes', { 'h1,h2,h3': 'title' }], + ], + }, + ], }, }); |