文件
1 2 3
| css/_custom/custom.style
css/_variables/base.style
|
post标题样式
css/_custom/custom.style .page-post-detail .post-title
post内容标题样式修改
多颜色样式框修改
css/_variables/base.style 310行
修改数学公式显示
1 2 3 4 5 6 7 8 9 10
| npm uninstall hexo-renderer-marked --save npm install hexo-renderer-kramed --save
# 找到node_modules\kramed\lib\rules\inline.js,把第11行的 escape 变量的值做相应的修改: //escape: /^\\([\\`*{}\[\]()#$+\-.!_>])/, escape: /^\\([`*\[\]()#$+\-.!_>])/, # 把第20行的em变量也要做相应的修改。 //em: /^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/, em: /^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,
|