Open pixelock opened 1 month ago
I find that either inline math or block math with _{
or \{
will cause this problem. Manually change them into \_{
or \\{
to show properly.
How to fix it in the theme?
@pixelock alright, i think some features in this theme is kinda... outdated :) you can find fix in https://gohugo.io/content-management/mathematics/
@pixelock alright, i think some features in this theme is kinda... outdated :) you can find fix in https://gohugo.io/content-management/mathematics/
i'll try. thanks for helping!
What happened?
I published a blog with lots of block math. Strangely, some of them can not be showed properly.
A test blog is published to show this problem: https://pixelock.github.io/p/math-typesetting/
Two blocks are not showed correctly. Details in .md
same latex math code can be show properly in another blog pubulish framework, so the math code itself is correct:
Can you help to find the cause of this problem, thx!
Hugo version
0.125.7
Theme version
3.26.0
What browsers are you seeing the problem on?
Chrome
More information about the browser
No response
Relevant log output
No response
Link to Minimal Reproducible Example
https://github.com/pixelock/blogtest