aboutsummaryrefslogtreecommitdiff
path: root/examples/with-markdown-plugins/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-10-29 19:47:01 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-10-29 19:47:01 +0000
commita5c6f922fa743c55c74882bda5d2d68cc3674600 (patch)
treed57f2d47668c81c54d42631d98671a7a59aa403a /examples/with-markdown-plugins/astro.config.mjs
parent34e03cf912161abd5ca66fd12ce458d51d011855 (diff)
downloadastro-a5c6f922fa743c55c74882bda5d2d68cc3674600.tar.gz
astro-a5c6f922fa743c55c74882bda5d2d68cc3674600.tar.zst
astro-a5c6f922fa743c55c74882bda5d2d68cc3674600.zip
[ci] yarn format
Diffstat (limited to 'examples/with-markdown-plugins/astro.config.mjs')
-rw-r--r--examples/with-markdown-plugins/astro.config.mjs19
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' }],
+ ],
+ },
+ ],
},
});