md-to-html-compiler - Lightweight Rust Markdown to HTML converter

Show HN: Learning Rust by writing a Markdown to HTML compiler

md-to-html-compiler - Lightweight Rust Markdown to HTML converter

md-to-html-compiler is a minimalist Rust tool designed to transform Markdown files into static HTML pages without the overhead of complex frameworks like Hugo. Built from scratch by a Rust novice, it features a custom parser that constructs an Abstract Syntax Tree (AST) to handle headings, lists, code blocks, and inline formatting. The tool supports YAML front matter for metadata management, offers a simple search interface, and includes vim-like navigation for a seamless reading experience. Perfect for developers seeking a transparent, dependency-free solution for personal micro-blogging.

It was fun to see that some of my own choices were pretty similar to actual .md to .html compilers, even Hugo itself.

More from this day

2026-07-29