Open Vast-Stars opened 6 years ago
I change default renderer to hexo-render-kramed and then change some render rules in node_modules\kramed\lib\rules\inline.js :
node_modules\kramed\lib\rules\inline.js
// escape: /^\\([\\`*{}\[\]()#$+\-.!_>])/, escape: /^\\([`*\[\]()#$+\-.!_>])/, // em: /^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/, em: /^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,
and I found there is a error when rendering latex code ||x||^2. Is there any other way except using {||}^2 ?
||x||^2
{||}^2
I change default renderer to hexo-render-kramed and then change some render rules in
node_modules\kramed\lib\rules\inline.js
:and I found there is a error when rendering latex code
||x||^2
. Is there any other way except using{||}^2
?