fix: 🐛 Fix Shiki making build fail

This commit is contained in:
Jesse Wierzbinski 2025-02-15 15:43:23 +01:00
parent b1ffb487c3
commit c6796ecb4e
No known key found for this signature in database
5 changed files with 915 additions and 5 deletions

View file

@ -59,9 +59,15 @@ function rehypeShiki() {
lang: node.properties.language,
theme: "dark-plus",
transformers: [
transformerNotationFocus(),
transformerNotationHighlight(),
transformerMetaHighlight(),
transformerNotationFocus({
matchAlgorithm: "v3",
}),
transformerNotationHighlight({
matchAlgorithm: "v3",
}),
transformerMetaHighlight({
matchAlgorithm: "v3",
}),
],
});