Closed ppwwyyxx closed 2 years ago
It's correct on my website, and the space between "by" and the inline math is kept.
I don't think it's a problem of hexo-filter-mathjax
. Maybe the space is removed by other Hexo renderer plugin.
Thanks for your response! I've resolved the issue after setting collapseWhitespace=false
in https://github.com/hexojs/hexo-html-minifier
My markdown looks like this:
Before, I was using frontend rendering with mathjax javascript library. The space between "by" and the inline math is kept. I got result like this:![2022-02-27_22-49](https://user-images.githubusercontent.com/1381301/155937310-006f60cf-a3d9-4e06-8aac-6ec5facc8c02.png)
After using![2022-02-27_22-50](https://user-images.githubusercontent.com/1381301/155937379-5d67af93-a3e8-4869-9073-0b9386801e39.png)
hexo-filter-mathjax
, the space disappeared and I got this:I can also see from the raw html that the space is gone.
Is this a problem of
hexo-filter-mathjax
? How can I let it render the space properly?Options that I use: