Minor Changes
- #15277
cb99214Thanks @ematipico! - Fixes an issue where the functioncreateShikiHighlighterwould always create a new Shiki highlighter instance. Now the function returns a cached version of the highlighter based on the Shiki options. This should improve the performance for sites that heavily rely on Shiki and code in their pages.
Patch Changes
- Updated dependencies [
11efb05]:- @astrojs/prism@4.0.0-beta.2