A Markdown-HTML file converter library based on Showdown and Chalk written in JavaScript.
- Convert Markdown or HTML with less codes.
- Use variables
mhandhmto mark what kind of file will be output.
npm install @mapmaths/filedownUse the make() function to convert.
const fd = require('@mapmaths/filedown'),
mh = fd.mh,
hm = fd.hm;
fd.make(mh, 'markdown.md', 'html.htm');
//Convert `markdown.md` into `html.htm`
fd.make(hm, 'index.html', 'md.markdown');
//Convert `index.html` into `md.markdown`@gitignore-nmp (or @ljy-002 on GitHub) helps improve this lib.✨
Jan 16, 2021
- Improved document.
Jan 16, 2021
- Change
[variable]m, hinto[variable]mh, hm.
Jan 16, 2021
- Made this project with
[function]make,[variable]m, h.