nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.53k stars 420 forks source link

Katex shows abnormal display #1797

Open ZhihengNing opened 1 month ago

ZhihengNing commented 1 month ago

I have a Latex code like $\boldsymbol {x}i \in \mathbb{R}^p, \boldsymbol{u} \in \mathbb{R}^p,\boldsymbol{\Sigma} \in \mathcal {S} {+}^p $ It can display normally when I replace it with Katex code: \(\boldsymbol {x}i \in \mathbb{R}^p, \boldsymbol{u} \in \mathbb{R}^p,\boldsymbol{\Sigma} \in \mathcal {S} {+}^p \) But it cannot be displayed normally, why? (By the way, I hope to add support for Latex #1789 )

ZhihengNing commented 1 month ago

The mathematical formula is rendered correctly locally image but the following problem occurs when it is rendered on the github page. image

ZhihengNing commented 1 month ago

just use the formula mentioned in the document can not work image