🔨 Convert Markdown file to HTML file
Give a ⭐️ if this project helped you!
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>
npm install -g convert-md-to-html
convert-md-to-html README.md
# Created: README-2024-08-01-15-30-47.html
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
- convert-md-to-pdf - 🔨 Convert Markdown file to PDF file
Thanks to the authors of showdown
The MIT License @ 2019-2024