Learning Rust by writing a Markdown to HTML compiler
Details
- External ID
- 49092151
- Source
- HN
- Company
- —
- Product
- Learning Rust by writing a Markdown to HTML compiler
- Website domain
- andreadimatteo.com
- Launched
- July 29, 2026
- Cohort
- —
- Upvotes
- 25
- Upvotes percentile
- 0.7592592592592593
- Tags
- —
- Fetched at
- Sept. 8, 2026, 8:28 p.m.
- Updated at
- Sept. 8, 2026, 8:28 p.m.
Description
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.
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Education
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- rust learning tutorial
- Manually corrected
- False
Could you build this?
Yes Writing a basic single-file Markdown-to-HTML parser and static site generator in Rust is a straightforward compiler project easily generated by an LLM.
Discussion
3 comments analyzed.
Competitors mentioned: React, LLMs for HTML generation
Concerns raised: HTML is notoriously complicated to parse correctly, Generating valid HTML documents is difficult, Modern frameworks have abandoned semantic HTML
Feature requests: Correct ordered vs unordered list handling
Competitors
Other products that read as similar to this one — 260 launches clear the similarity bar, closest 8 shown.
Attention rank: #82 of 261 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 273 days after the earliest competitor.
- rust-learning-lab · github · 2026-09-25 · 49 upvotes · similarity 0.55
- Lathe · hn · 2026-06-07 · 402 upvotes · similarity 0.48
- Genotype: language that compiles to idiomatic TS, Rust and Python · hn · 2026-09-08 · 9 upvotes · similarity 0.48
- Ferrite · hn · 2026-01-11 · 241 upvotes · similarity 0.46
- rustcoach · ph · 2026-09-30 · 2 upvotes · similarity 0.45
- Writemark, a dependency free web component for inline Markdown editing · hn · 2026-07-25 · 53 upvotes · similarity 0.45
- Rune · hn · 2026-06-07 · 5 upvotes · similarity 0.45
- Nectar, a Rust-like React that compiles to WebAssembly · hn · 2026-07-06 · 29 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.