summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/guides/markdown-content.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/src/pages/guides/markdown-content.md b/docs/src/pages/guides/markdown-content.md
index 235d73da9..b3c851fa6 100644
--- a/docs/src/pages/guides/markdown-content.md
+++ b/docs/src/pages/guides/markdown-content.md
@@ -18,8 +18,8 @@ export default {
'parser-name', // or import('parser-name') or (contents) => {...}
{
// options
- }
- ]
+ },
+ ],
},
};
```
@@ -33,7 +33,7 @@ In addition to custom components inside the [`<Markdown>` component](/guides/mar
- [GitHub-flavored Markdown](https://github.com/remarkjs/remark-gfm)
- [remark-smartypants](https://github.com/silvenon/remark-smartypants)
- [rehype-slug](https://github.com/rehypejs/rehype-slug)
-- [Prism](https://prismjs.com/)
+- [Prism](https://prismjs.com/)
Also, Astro supports third-party plugins for Markdown. You can provide your plugins in `astro.config.mjs`.
@@ -60,9 +60,9 @@ export default {
// If you need to provide options for the plugin, you can use an array and put the options as the second item.
// 'rehype-slug',
// ['rehype-autolink-headings', { behavior: 'prepend'}],
- ]
- }
- ]
+ ],
+ },
+ ],
},
};
```
@@ -79,8 +79,8 @@ export default {
remarkPlugins: [
[import('remark-autolink-headings'), { behavior: 'prepend' }],
],
- }
- ]
+ },
+ ],
},
};
```