hylmd
v1.0.5
Published
a simple markdown to html lib
Downloads
21
Readme
简介
hmd 是一个简单的 markdown 解析器。
安装
npm install hmd使用
编译
import Hmd from "hmd";
const html = hmd().complie("**Hello World**");插件
import Hmd, { htmlEscape } from "hmd";
const hmd = new Hmd();
hmd.use(htmlEscape);
const html = hmd.complie("<script>xss</script>");(GitHub)[https://github.com/AechWhyL/hmd]
