cheerio实现html文件转化成md
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
html2md.js

README.md

html2md

cheerio实现html文件转化成md

运行环境

node

模块依赖

cheerio,fs

路径

需要定义html、md文件路径 我这边只对h1,h2,h3,div,img,a做了处理,可根据自身需要进行编辑解析