forked from tanner/qotnews
chore: Add debug log for math block detection
This commit is contained in:
@@ -148,6 +148,8 @@ function Article({ cache }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(v, isMath);
|
||||||
|
|
||||||
if (isMath) {
|
if (isMath) {
|
||||||
return <Tag {...props}><Latex delimiters={latexDelimiters}>{v.textContent}</Latex></Tag>;
|
return <Tag {...props}><Latex delimiters={latexDelimiters}>{v.textContent}</Latex></Tag>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user