rust-md2html

Crates.iorust-md2html
lib.rsrust-md2html
version0.1.2
created_at2025-07-30 16:20:57.337674+00
updated_at2025-07-30 16:44:22.639112+00
descriptionA simple Rust CLI to convert Markdown to HTML with file watching
homepagehttps://github.com/haffizaliraza/rust-md2html
repositoryhttps://github.com/haffizaliraza/rust-md2html
max_upload_size
id1773746
size24,167
Ali Raza (haffizaliraza)

documentation

https://docs.rs/rust-md2html

README

📝 md2htmlx — A Simple Markdown to HTML Converter with Live Watch Mode

md2htmlx is a fast, lightweight, and user-friendly command-line tool written in Rust that converts Markdown files into HTML. It also supports a live watch mode to automatically re-render your HTML output whenever the Markdown file is edited.

Perfect for developers, bloggers, or static site generators who want quick Markdown rendering without heavy dependencies.


🚀 Features

  • ✅ Convert .md files to .html
  • 🔁 Automatically re-renders on file save
  • ⚡ Fast and compiled with Rust
  • 🧩 Uses popular, safe crates: pulldown-cmark, clap, notify
  • 🔧 Simple CLI interface

📦 Usage

Basic Conversion

md2htmlx input.md output.html

📦 Installation

From crates.io:

cargo install md2htmlx

Build From Source

git clone https://github.com/yourusername/md2htmlx.git
cd md2htmlx
cargo build --release
./target/release/md2htmlx input.md output.html
Commit count: 0

cargo fmt