diff options
author | 2021-10-29 12:45:32 -0700 | |
---|---|---|
committer | 2021-10-29 14:45:32 -0500 | |
commit | 34e03cf912161abd5ca66fd12ce458d51d011855 (patch) | |
tree | af33b1cf19ddd45b4c6effbf8c25b8f74d2e7c23 /examples/with-markdown-plugins/astro.config.mjs | |
parent | 93489946ccd59c27d85cc9fa3a255edf6efeb861 (diff) | |
download | astro-34e03cf912161abd5ca66fd12ce458d51d011855.tar.gz astro-34e03cf912161abd5ca66fd12ce458d51d011855.tar.zst astro-34e03cf912161abd5ca66fd12ce458d51d011855.zip |
do not format vite (#1710)
* Revert "[ci] yarn format"
This reverts commit 93489946ccd59c27d85cc9fa3a255edf6efeb861.
* chore: ignore vendor
Diffstat (limited to 'examples/with-markdown-plugins/astro.config.mjs')
-rw-r--r-- | examples/with-markdown-plugins/astro.config.mjs | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs index 8e70603a3..a7a644944 100644 --- a/examples/with-markdown-plugins/astro.config.mjs +++ b/examples/with-markdown-plugins/astro.config.mjs @@ -11,16 +11,13 @@ 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' }], + ] + }] }, }); |