small fix for shiki link transformer
This commit is contained in:
parent
9c1f293a2a
commit
077c7b3b2b
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue