Update .changeset/few-peas-hunt.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This commit is contained in:
parent
8006f98550
commit
b491e6bc5c
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue