🍿 Minor Changes
-
#3033
8c19678Thanks @delucis! - Adds support for generating clickable anchor links for headings.By default, the Starlight Markdoc preset now includes a default
headingnode, which renders an anchor link beside headings in your Markdoc content.If you want to disable this new feature, pass
headingLinks: falsein your Markdoc config:export default defineMarkdocConfig({// Disable the default heading anchor link supportextends: [starlightMarkdoc({ headingLinks: false })],});⚠️ BREAKING CHANGE: The minimum supported peer version of Starlight is now v0.34.0.
Please update Starlight and the Starlight Markdoc preset together:
Terminal window npx @astrojs/upgrade