aricyu opened this issue 8 years ago · 2 comments
就是一段纯markdown语法的文本,怎么用mditor解析成html?
@chiaki-yu
参考如下代码:
var mditor = require("mditor"); var parser = new mditor.Parser(); var html = parser.parse("** Hello mditor! **");
谢谢