Closed sitJac closed 2 months ago
As I know, marked
is a renderer of markdown, not math.
Using the following dependency versions, the issue does not occur. I am closing this issue now:
{
"dependencies": {
"hexo": "^6.0.0",
"hexo-asset-image": "^1.0.0",
"hexo-deployer-git": "^3.0.0",
"hexo-filter-mathjax": "^0.8.0",
"hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-searchdb": "^1.4.1",
"hexo-generator-tag": "^1.0.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-marked": "^5.0.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^3.0.0",
"hexo-theme-next": "^8.10.1",
"highlight.js": "^11.9.0"
}
}
Check List
Describe the bug
When using
hexo-renderer-marked@6.3.0
to build my blog system, there is an issue with rendering math formulas.For example, the following math formula:
is supposed to be rendered as a two-line formula:
However, it is actually rendered as a single line:
Expected behavior
The math formula should be rendered as a two-line formula.
How to reproduce
hexo-renderer-marked@6.3.0
in a Hexo project.hexo generate
.Screenshots
No response
Environment information
Additional context
No response