From e6ad081950ce794ec631cf1e5b60597590dc5346 Mon Sep 17 00:00:00 2001 From: bluwy Date: Mon, 9 Oct 2023 20:40:40 +0800 Subject: [PATCH] Fix --- packages/markdown/remark/src/remark-shiki.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/markdown/remark/src/remark-shiki.ts b/packages/markdown/remark/src/remark-shiki.ts index ef267d45f..bf3dd0b78 100644 --- a/packages/markdown/remark/src/remark-shiki.ts +++ b/packages/markdown/remark/src/remark-shiki.ts @@ -108,6 +108,6 @@ export function remarkShiki({ /** * shiki -> shikiji compat as we need to manually replace it */ -export function replaceCssVariables(str: string) { +function replaceCssVariables(str: string) { return str.replace(COLOR_REPLACEMENT_REGEX, (match) => ASTRO_COLOR_REPLACEMENTS[match] || match); }