【文件属性】:
文件名称:markdown-html
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-11 05:36:03
JavaScript
markdown-html-cli
cli工具将markdown转换为html
支持自定义css
支持通过highlight.js显示您的代码
支持自定义降价css
支持将您的图像转换为base64
仅支持生成html片段(不包含body标签)
安装
npm i -g markdown-html-cli
用法
md2html -h
Usage: md2html mdFile [options]
Options:
mdfile Path of the markdown file to convert
-o --out < path> path where save the html (default: " /Users/An1 " )
--cwd < path> c
【文件预览】:
markdown-html-main
----.DS_Store(6KB)
----.gitattributes(66B)
----.eslintrc.js(1KB)
----src()
--------defaults.js(135B)
--------mdcss()
--------md.js(3KB)
--------index.js(705B)
----.idea()
--------markdown-html-master.iml(458B)
--------jsLibraryMappings.xml(187B)
--------inspectionProfiles()
--------modules.xml(292B)
--------codeStyles()
--------.gitignore(98B)
----LICENSE(1KB)
----README.md(3KB)
----.gitignore(2KB)
----bin()
--------cli.js(44B)
----package-lock.json(84KB)
----package.json(1KB)