Houfeng/mditor

请问如何在客户端解析markdown语法?

aricyu opened this issue · 2 comments

就是一段纯markdown语法的文本,怎么用mditor解析成html?

@chiaki-yu

参考如下代码:

var mditor = require("mditor");
var parser = new mditor.Parser();
var html = parser.parse("** Hello mditor! **");

谢谢