diff --git a/.changeset/dirty-socks-sip.md b/.changeset/dirty-socks-sip.md index fae39fa785df..1784e2031ec0 100644 --- a/.changeset/dirty-socks-sip.md +++ b/.changeset/dirty-socks-sip.md @@ -3,7 +3,7 @@ 'astro': minor --- -Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to display an accurate language while also displaying syntax highlighting. +Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting. The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter: