convert-md-to-html
v1.0.11
Published
🔨 Convert Markdown file to HTML
Downloads
168
Maintainers
Readme
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>
Installation
npm install -g convert-md-to-html
CLI
convert-md-to-html README.md
# Created: README-2024-08-01-15-30-47.html
🤝 Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Related
- convert-md-to-pdf - 🔨 Convert Markdown file to PDF file
Credits
Thanks to the authors of showdown
License
The MIT License @ 2019-2024