This commit is contained in:
bluwy 2023-10-09 20:40:40 +08:00
parent e0ae877384
commit e6ad081950

View file

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