
🍿 Minor Changes
-
#1023
a3b80f7Thanks @kevinzunigacuellar! - Respect thetrailingSlashandbuild.formatAstro options when creating Starlight navigation links.⚠️ Potentially breaking change: This change will cause small changes in link formatting for most sites. These are unlikely to break anything, but if you care about link formatting, you may want to change some Astro settings.
If you want to preserve Starlight’s previous behavior, set
trailingSlash: 'always'in yourastro.config.mjs:import { defineConfig } from 'astro/config';import starlight from '@astrojs/starlight';export default defineConfig({trailingSlash: 'always',integrations: [starlight({// ...}),],}); -
#742
c6a4bcbThanks @hippotastic! - Adds Expressive Code as Starlight’s default code block renderer⚠️ Potentially breaking change: This addition changes how Markdown code blocks are rendered. By default, Starlight will now use Expressive Code. If you were already customizing how code blocks are rendered and don’t want to use the features provided by Expressive Code, you can preserve the previous behavior by setting the new config option
expressiveCodetofalse.If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in
astro.config.mjs:- Move your configuration to Starlight’s new
expressiveCodeoption. - Remove the
astro-expressive-codeintegration.
For example:
import starlight from '@astrojs/starlight';import { defineConfig } from 'astro/config';import expressiveCode from 'astro-expressive-code';export default defineConfig({integrations: [expressiveCode({themes: ['rose-pine'],}),starlight({title: 'My docs',expressiveCode: {themes: ['rose-pine'],},}),],});Note that the built-in Starlight version of Expressive Code sets some opinionated defaults that are different from the
astro-expressive-codedefaults. You may need to set somestyleOverridesif you wish to keep styles exactly the same. - Move your configuration to Starlight’s new
-
#517
5b549cbThanks @liruifengv! - Add i18n support for default aside labels
🐞 Patch Changes
-
#1088
4fe5537Thanks @Lootjs! - i18n(ru): added Russian aside labels translation -
#1083
e03a653Thanks @at-the-vr! - i18n(hi): Add Hindi language support -
#1075
2f2adf2Thanks @russbiggs! - Add Slack social link icon -
#1065
2d72ed6Thanks @HiDeoo! - Ignore search keyboard shortcuts for elements with contents that are editable -
#1081
f27f781Thanks @farisphp! - i18n(id): Add Indonesian aside labels translation -
#1082
ce27486Thanks @bogdaaamn! - i18n(ro): Add Romanian UI translations