yoshuawuyts/components
View on GitHub[component] htmlmark — HTML ↔ Markdown conversion
Open
#13 opened on May 1, 2026
good first issue
Repository metrics
- Stars
- (1 star)
- PR merge metrics
- (PR metrics pending)
Description
Goal
Component to transform HTML (document or fragment) into clean Markdown, ideally focused on main-article/body (like Mozilla Readability). Optionally: Markdown → HTML.
Scope/Features
- Parse HTML, extract main content, output Markdown (GFM)
- Optionally: also support Markdown → HTML rendering
- No network; pure function
Rough WIT shape
extract(input: string) -> result<string, error>render(md: string) -> result<string, error>(optional)
Candidate crates
- readability
- html2md
- pulldown-cmark for output
Labels
- good first issue
Leave a comment to claim, suggest changes, or link upstream crates!