brucedown

2019-09-11 admin

brucedown是什么

什么是brucedown,A near-perfect GitHub style Markdown to HTML converter

brucedown使用教程帮助文档

Brucedown

A near-perfect GitHub style Markdown to HTML converter

NPM NPM

Built primarily for Morkdown but useful wherever you want to produce the same HTML that GitHub does when processing Markdown.

There are some very minor differences due to the fact that Brucedown uses Marked (JavaScript) rather than Sundown © for the Markdown conversion.

Brucedown uses Pygments to do syntax highlighting just like GitHub so code even comes out the same.

Currently the interface is very simple:

var brucedown = require('brucedown')

brucedown(markdownSource, function (err, htmlResult) {
  console.log(htmlResult)
})

Licence & copyright

Brucedown is Copyright © 2012 Rod Vagg <@rvagg> and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-74850.html

文章标题:brucedown

回到顶部