From 2579af1adddae4e68049cfc2da34ae857650d6d5 Mon Sep 17 00:00:00 2001 From: Declan Chidlow Date: Sat, 29 Jun 2024 11:54:26 +0800 Subject: [PATCH] Bump shiki version --- config/global/scripts/syntax-highlighting.js | 2 +- docs/scripts/syntax-highlighting.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/global/scripts/syntax-highlighting.js b/config/global/scripts/syntax-highlighting.js index 8971f39..1bb3026 100644 --- a/config/global/scripts/syntax-highlighting.js +++ b/config/global/scripts/syntax-highlighting.js @@ -1,6 +1,6 @@ // Based on https://brandur.org/fragments/shiki -import { codeToHtml } from "https://esm.sh/shiki@1.0.0"; +import { codeToHtml } from "https://esm.sh/shiki@1.10.0"; const htmlEscapes = new Map([ ["&", "&"], diff --git a/docs/scripts/syntax-highlighting.js b/docs/scripts/syntax-highlighting.js index 8971f39..1bb3026 100644 --- a/docs/scripts/syntax-highlighting.js +++ b/docs/scripts/syntax-highlighting.js @@ -1,6 +1,6 @@ // Based on https://brandur.org/fragments/shiki -import { codeToHtml } from "https://esm.sh/shiki@1.0.0"; +import { codeToHtml } from "https://esm.sh/shiki@1.10.0"; const htmlEscapes = new Map([ ["&", "&"],