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); }