-
#3644
0d2e7edThanks @HiDeoo! -⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.38.0Please use the
@astrojs/upgradecommand to upgrade your project:npx @astrojs/upgrade
- #2261
778b743Thanks @shubham-padia! - Adds support for theiconattribute in theasidetag, allowing the use of any of Starlight’s built-in icons.
-
#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 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
-
#3090
fc3ffa8Thanks @delucis! - Adds support for newer versions of@astrojs/markdoc -
#3109
b5cc1b4Thanks @dhruvkb! - Updates Expressive Code to v0.41.1
-
#2931
10b93b3Thanks @HiDeoo! - Adds support for thetitle,frame, andmetafence attributes to code blocks.These new optional attributes add support for Expressive Code text & line markers. The following example renders a code block using a terminal frame with a title:
```js {% title="editor.exe" frame="terminal" %} console.log('Hello, world!'); ```Any other text or line markers should be specified using the
metafence attribute. For example, the following code block renders a code block using thediffsyntax combined with thejslanguage syntax highlighting and themarkerstext highlighted:```diff {% meta="lang=js 'markers'" %} function thisIsJavaScript() { // This entire block gets highlighted as JavaScript, // and we can still add diff markers to it! - console.log('Old code to be removed') + console.log('New and shiny code!') } ```To learn more about all the available options, check out the Expressive Code documentation.
-
#2612
8d5a4e8Thanks @HiDeoo! -⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.30.0Please use the
@astrojs/upgradecommand to upgrade your project:npx @astrojs/upgrade