hexojs / hexo-renderer-markdown-it

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
MIT License
344 stars 60 forks source link

无法渲染行内代码中的百分号 #194

Closed Firestar-Reimu closed 1 year ago

Firestar-Reimu commented 1 year ago

例如:

菜单 >> 数学 >> `\frac{}{}` >> `\frac{%|}{}`

渲染后为: Screenshot_20230203_171340

Firestar-Reimu commented 1 year ago

This is related to

https://github.com/hexojs/hexo/issues/1510

and its solution is here

https://hexo.io/zh-cn/docs/front-matter disableNumjucks: true

https://hexo.io/zh-cn/docs/troubleshooting#%E8%BD%AC%E4%B9%89%EF%BC%88Escape%EF%BC%89%E5%86%85%E5%AE%B9