npm un hexo-renderer-marked --save npm i hexo-renderer-markdown-it --save
next主题的数学公式配置
1 2 3 4 5 6 7
# Math Formulas Render Support math: per_page:false mathjax: enable:true cdn://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML mhchem:false
常用命令
1 2 3 4 5 6 7 8 9 10 11 12
hexo g (generate) hexo s (server) hexo clean (clear public) hexo n [layout] <title >(new post) eg:hexo n draft title hexo publish [layout] <title> eg:hexo publish draft title hexo d (deploy) hexo d -g (generate and deploy)
错误日志:Error: spawn git ENOENT 解决方案: 方案1)添加环境变量C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\libexec\git-core 方案2)安装github windows>在项目中Open in Gitshell>执行hexo d -g
sequence插件配置
在 _config.yml 中添加 sequence:相关配置
1 2 3 4 5 6 7 8 9 10
sequence: raphael:https://cdn.bootcss.com/raphael/2.2.8/raphael.min.js webfont:https://cdn.bootcss.com/webfont/1.6.28/webfontloader.js snap:https://cdn.bootcss.com/snap.svg/0.5.1/snap.svg-min.js underscore:https://cdn.bootcss.com/underscore.js/1.9.1/underscore-min.js sequence:https://cdn.bootcss.com/js-sequence-diagrams/1.0.6/sequence-diagram-min.js # css: # optional, the url for css, such as hand drawn theme options: theme: css_class: