Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @wulechuan/generate-html-via-markdown with all npm packages installed. Try it out:

var generateHtmlViaMarkdown = require("@wulechuan/generate-html-via-markdown")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@wulechuan/generate-html-via-markdown v3.3.1

此为吴乐川的《将 MarkDown 代码转换为 HTML 代码的工具》。本工具借助 markdownIt 生态的工具集,将一段 MarkDown 内容(一个字符串)转化成对应的 HTML 内容(另一字符串)。当采用默认的配置项时,本工具还会在输出的 HTML 内容中,内嵌精美的 CSS 样式集和 JavaScript 代码。故,当借助本工具来制作一篇文章的“可分发版本”时,本工具产生的单一的 HTML 文档即可独立运转。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free