brucedown

2019-09-11

brucedown是什么

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

brucedown使用教程帮助文档

Brucedown

A near-perfect GitHub style Markdown to HTML converter

NPMNPM

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

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

Brucedown uses Pygmentsto 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 (c) 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.


上一篇:syncit-server
下一篇:sear-require
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章
暂无相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部