chore(deps): update dependency astro-expressive-code to ^0.40.0 #164
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.38.3
->^0.40.0
Release Notes
expressive-code/expressive-code (astro-expressive-code)
v0.40.2
Compare Source
Patch Changes
1734d73
: Prevents the default style reset from interfering with more complex SVGs inside Expressive Code blocks. Now, not onlypath
elements, but all SVGs and their contents are excluded from the reset. Thank you @xt0rted!1734d73
]v0.40.1
Compare Source
Patch Changes
ecf6ca1
: Removes unnecessary end padding from the first code line if the copy to clipboard button is disabled. Thank you @goulvenclech!ecf6ca1
]v0.40.0
Compare Source
Patch Changes
v0.39.0
Compare Source
Minor Changes
dc05ddc
: Adds new config optionshiki.engine
.Allows selecting the Shiki RegExp engine to be used for syntax highlighting. The following options are available:
'oniguruma'
: The default engine that supports all grammars, but requires a target environment with WebAssembly (WASM) support.'javascript'
: A pure JavaScript engine that does not require WASM. The Shiki team is continuously improving this engine and aims for full compatibility with the Oniguruma engine. Use this engine if your target environment does not support WASM.9149332
: Adds new config optionshiki.bundledLangs
.Allows defining a subset of language IDs from the full Shiki bundle that should be available for syntax highlighting.
In server-side rendering (SSR) environments, setting this option to the languages used on your site can reduce bundle size by up to 80%.
If this option is not set, all languages from the full Shiki bundle are available.
dc05ddc
: Adds new config optionremoveUnusedThemes
.In Astro and Starlight, Expressive Code now automatically removes any themes from the bundle that are not used by your
themes
configuration. This reduces the SSR bundle size by over 1 MB.This new optimization is enabled by default and does not need to be configured for most sites. If you have an advanced use case that requires access all bundled themes, you can set this option to
false
.dc05ddc
: Adds new config optionshiki.langAlias
.Allows defining alias names for languages. The keys are the alias names, and the values are the language IDs to which they should resolve.
The values can either be bundled languages, or additional languages defined in
shiki.langs
.For example, setting
langAlias: { mjs: 'javascript' }
allows usingmjs
in your code blocks as an alias for thejavascript
language.9149332
: Updates Shiki to the latest version (1.26.1).Patch Changes
9149332
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.