diff options
Diffstat (limited to 'docs/src/pages/guides/markdown-content.md')
-rw-r--r-- | docs/src/pages/guides/markdown-content.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/pages/guides/markdown-content.md b/docs/src/pages/guides/markdown-content.md index 5a8cebed0..9c6c5b78c 100644 --- a/docs/src/pages/guides/markdown-content.md +++ b/docs/src/pages/guides/markdown-content.md @@ -18,7 +18,7 @@ Also, Astro supports third-party plugins for Markdown. You can provide your plug If you want to add a plugin, you need to install the npm package dependency in your project and then update the `markdownOptions.remarkPlugins` or `markdownOptions.rehypePlugins` depends on what plugin you want to have: ```js -// astro.config.js +// astro.config.mjs export default { markdownOptions: { remarkPlugins: [ @@ -40,7 +40,7 @@ export default { You can provide names of the plugins as well as import them: ```js -// astro.config.js +// astro.config.mjs export default { markdownOptions: { remarkPlugins: [ |