github withastro/starlight @astrojs/starlight-markdoc@0.4.0

latest releases: @astrojs/starlight@0.35.2, @astrojs/starlight@0.35.1, @astrojs/starlight@0.35.0...
4 months ago

Minor Changes

  • #3033 8c19678 Thanks @delucis! - Adds support for generating clickable anchor links for headings.

    By default, the Starlight Markdoc preset now includes a default heading node, which renders an anchor link beside headings in your Markdoc content.

    If you want to disable this new feature, pass headingLinks: false in your Markdoc config:

    export default defineMarkdocConfig({
      // Disable the default heading anchor link support
      extends: [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:

    npx @astrojs/upgrade

Don't miss a new starlight release

NewReleases is sending notifications on new releases.