small fix for shiki link transformer

This commit is contained in:
Xanazf 2024-10-10 21:51:30 +03:00
parent 9c1f293a2a
commit 077c7b3b2b
Signed by: Xanazf
GPG key ID: 4E4A5AD1FB748427

View file

@ -75,7 +75,6 @@ const shikiRewriteTypelinks: ShikiTransformer = {
// WARN: need to change the code link identifier to this
const regExp = /TYPE99(\w+.)99TYPE/g;
const hasTypelinks = code.search(regExp) !== -1;
console.log(hasTypelinks);
if (hasTypelinks) {
code.replace(regExp, (_full: string, match: string) => {