Closed zzhgithub closed 5 years ago
没用过latex,不太确定呀,但内部用的 metalsmith-markdown 将md文件转成html,你可以查看一下是否支持,所有build代码都在这里 https://github.com/nshen/coding-blog/blob/master/build.js
metalsmith-markdown
谢谢回复 我已经找到方法了
const mathjax = require('metalsmith-mathjax');
使用这个包 然后在每个post文件里 头部加上 mathjax: true 就可以写了
我懒的提交了 :)
没用过latex,不太确定呀,但内部用的
metalsmith-markdown
将md文件转成html,你可以查看一下是否支持,所有build代码都在这里 https://github.com/nshen/coding-blog/blob/master/build.js