summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/migration/0.21.0.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/src/pages/migration/0.21.0.md b/docs/src/pages/migration/0.21.0.md
index 38a7236e9..3adc7e6b6 100644
--- a/docs/src/pages/migration/0.21.0.md
+++ b/docs/src/pages/migration/0.21.0.md
@@ -193,6 +193,29 @@ To learn more about Vite plugins, please visit their [plugin guide](https://vite
> In prior releases, these were configured with `snowpackPlugin` or `snowpackPluginOptions`.
+## Markdown Options
+
+The configuration of markdown options has changed slightly in Astro v0.21. There's now a `render` property, which should include `@astrojs/markdown-remark`:
+
+```diff
+// astro.config.mjs
+export default {
+ markdownOptions: {
++ render: [
++ '@astrojs/markdown-remark',
++ {
+ remarkPlugins: [
+ // Add a Remark plugin that you want to enable for your project.
+ ],
+ rehypePlugins: [
+ // Add a Rehype plugin that you want to enable for your project.
+ ],
++ },
++ ],
+ },
+};
+```
+
## Styling Changes
### Autoprefixer