aboutsummaryrefslogtreecommitdiff
path: root/examples/with-markdown-plugins/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-10-29 12:45:32 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-29 14:45:32 -0500
commit34e03cf912161abd5ca66fd12ce458d51d011855 (patch)
treeaf33b1cf19ddd45b4c6effbf8c25b8f74d2e7c23 /examples/with-markdown-plugins/astro.config.mjs
parent93489946ccd59c27d85cc9fa3a255edf6efeb861 (diff)
downloadastro-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.mjs19
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' }],
+ ]
+ }]
},
});