🍿 Minor Changes
-
#5654
2c65b433bThanks @delucis! - Run heading ID injection after user plugins⚠️ BREAKING CHANGE ⚠️
If you are using a rehype plugin that depends on heading IDs injected by Astro, the IDs will no longer be available when your plugin runs by default.
To inject IDs before your plugins run, import and add the
rehypeHeadingIdsplugin to yourrehypePluginsconfig:astro.config.mjs import { rehypeHeadingIds } from '@astrojs/markdown-remark';import mdx from '@astrojs/mdx';export default {integrations: [mdx()],markdown: {rehypePlugins: [rehypeHeadingIds,otherPluginThatReliesOnHeadingIDs,],},}
🐞 Patch Changes
-
#5667
a5ba4af79Thanks @bholmesdev! - Chore: remove verbose “Now interiting Markdown plugins…” logs -
#5648
853081d1cThanks @bholmesdev! - Prevent relative image paths insrc/content/ -
Updated dependencies [
853081d1c,2c65b433b]:- @astrojs/markdown-remark@1.2.0