chrisdiana / cms.js

Client-Side JavaScript Site Generator

Home Page:http://chrisdiana.github.io/cms.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markdown code area not correct

466023746 opened this issue · comments

I use the markdown-it engine to solve this problem.

// config.js

var md = window.markdownit();
var markdownEngine = md.render.bind(md);

var config = {
    markdownEngine: markdownEngine
}