summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/markdown-content.md
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-20 13:58:14 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-20 13:58:29 -0700
commit9f6ec661e2ebfc703c5c527bd7a883f9c34287a7 (patch)
tree70f365898df0cefbf70868855ff0130d63489d7e /docs/src/pages/guides/markdown-content.md
parentec4e00a8c180ec1736c88245fa7c92469b0254b7 (diff)
downloadastro-9f6ec661e2ebfc703c5c527bd7a883f9c34287a7.tar.gz
astro-9f6ec661e2ebfc703c5c527bd7a883f9c34287a7.tar.zst
astro-9f6ec661e2ebfc703c5c527bd7a883f9c34287a7.zip
update astro.config.js to astro.config.mjs in docs
Diffstat (limited to 'docs/src/pages/guides/markdown-content.md')
-rw-r--r--docs/src/pages/guides/markdown-content.md4
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: [