🍿 Minor Changes
-
ba11b3399Thanks @RafidMuhymin! - fixed generated slugs in markdown that ends with a dash -
#4016
00fab4ce1Thanks @bholmesdev! - The use of components and JSX expressions in Markdown are no longer supported by default.For long term support, migrate to the
@astrojs/mdxintegration for MDX support (including.mdxpages!).Not ready to migrate to MDX? Add the legacy flag to your Astro config to re-enable the previous Markdown support.
// https://astro.build/configexport default defineConfig({legacy: {astroFlavoredMarkdown: true,},}); -
#4031
6e27a5fdcThanks @natemoo-re! - BREAKING Renamed Markdown utility functiongetHeaders()togetHeadings().
🐞 Patch Changes
- #4008
399d7e269Thanks @bholmesdev! - Avoid parsing JSX, components, and Astro islands when using “plain” md mode. This bringsmarkdown.mode: 'md'in-line with our docs description.