convert-md-to-html

1.0.2 • Public • Published

convert-md-to-html

node version npm version downloads count

🔨 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

Credits

Thanks to the authors of showdown

License

The MIT License @ 2019-2024

Package Sidebar

Install

npm i convert-md-to-html

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

5.23 kB

Total Files

8

Last publish

Collaborators

  • piecioshka