Preview of .md to .html compilerOpen andreadimatteo.com

andreadimatteo.com/md-to-html-compiler.html

.md to .html compiler

A single-file Markdown to HTML compiler and static site generator written in Rust for a micro-blog.

Visit project

Show me a random project

First shared
Jul 29, 2026
HN activity
253

Show HN@deotmanJul 29, 2026

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

Hi HN, I'm new to Rust and, after half of `The Rust Programming Language` I decided to delve into a project I would actually use: a markdown to html compiler that actually serves my micro-blog (I started just right after publishing the project hehe). The project is intentionally small and one-file contained: I wanted to have the full picture in mind. I'm open to comments, suggestions and PRs. If you asked me more convincing arguments to why did you do it? rather than to learn Rust I would respond with: LLMs are effectively a new type of web users today and will be more and more present in the future. Having a full, well formatted, .md interface of a website can make it easier for them to access the content.

Community

Hacker News discussion

Loading the thread…