convert-md-to-html

🔨 Convert Markdown file to HTML file
Give a ⭐️ if this project helped you!
Usage
const { buildHTML } = require('convert-md-to-html');
const markdownText = `# title
- item 1
- item 2
`;
const html = buildHTML(markdownText);
console.log(html);
Output:
<h1>title</h1>
<ul>
<li>item 1</li>
<li>item 2</li>
</ul>
CLI
Installation:
npm install -g convert-md-to-html
convert-md-to-html README.md
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Related
Credits
Thanks to the authors of showdown
License
The MIT License @ 2019