CoreOS-China/coreos-china.org — pull request #12 by greyhawk (2014-11-20 04:22:26+00:00)
Title: modify MarkDown2Html

# 提交内容

增加Markdown 转 html 的类库

go get -u github.com/russross/blackfriday

使用类库

htmlData := blackfriday.MarkdownCommon(markdownData)

插入到模版

this.Data["htmlData"] = htmlData