New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

convert-md-to-html

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert-md-to-html

🔨 Convert Markdown file to HTML

  • 1.0.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

convert-md-to-html

cli-available node version npm version downloads count size license github-ci

🔨 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
# Created: README-2024-08-01-15-30-47.html

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

  • convert-md-to-pdf - 🔨 Convert Markdown file to PDF file

Credits

Thanks to the authors of showdown

License

The MIT License @ 2019

Keywords

FAQs

Package last updated on 20 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc