Fix
This commit is contained in:
parent
e0ae877384
commit
e6ad081950
1 changed files with 1 additions and 1 deletions
|
@ -108,6 +108,6 @@ export function remarkShiki({
|
||||||
/**
|
/**
|
||||||
* shiki -> shikiji compat as we need to manually replace it
|
* 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);
|
return str.replace(COLOR_REPLACEMENT_REGEX, (match) => ASTRO_COLOR_REPLACEMENTS[match] || match);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue