From b491e6bc5c0d4c4b186460bec9498b19f8548ce6 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 11 Oct 2023 21:41:39 +0800 Subject: [PATCH] Update .changeset/few-peas-hunt.md Co-authored-by: Sarah Rainsberger --- .changeset/few-peas-hunt.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.changeset/few-peas-hunt.md b/.changeset/few-peas-hunt.md index c710b3f94..0aea4c325 100644 --- a/.changeset/few-peas-hunt.md +++ b/.changeset/few-peas-hunt.md @@ -4,7 +4,9 @@ 'astro': minor --- -Update the internal `shiki` syntax highlighter to `shikiji`, an ESM-focused alternative that simplifies bundling and maintenance. There are no new options and changes to how you author code blocks and syntax highlighting. +Updates the internal `shiki` syntax highlighter to `shikiji`, an ESM-focused alternative that simplifies bundling and maintenance. + +There are no new options and no changes to how you author code blocks and syntax highlighting. **Potentially breaking change:** While this refactor should be transparent for most projects, the transition to `shikiji` now produces a smaller HTML markup by attaching a fallback `color` style to the `pre` or `code` element, instead of to the line `span` directly. For example: