公式无法渲染问题

错误情况

部分公式无法渲染,显示为源码

环境

解决

修改marked\lib\marked.js以下语句:

1
2
escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]^_`|~])/,
em:/^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,
#
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×