Writemark, a dependency free web component for inline Markdown editing
Details
- External ID
- 49051130
- Source
- HN
- Company
- —
- Product
- —
- Website domain
- —
- Launched
- July 25, 2026
- Cohort
- —
- Upvotes
- 53
- Upvotes percentile
- 0.8554360812425329
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
I like writing Markdown, but do not like writing it inside a plain textarea.I wanted something I could use anywhere by dropping in a single web component:```<writemark-editor name="body"></writemark-editor>```That became Writemark.It renders Markdown while you write, but Markdown remains the value you read, store, and submit. It also has source, split, and preview modes, along with slash commands, tables, task lists, code blocks, native form support, and an API for adding your own controls. There are no runtime dependencies and no required framework or built in toolbar.It is fully vibecoded. The process was very iterative. I knocked something out, tried using it, found bugs, fixed them, and repeated that cycle until I had something I liked writing in and that performed reasonably well.It did not begin as an experiment about AI generated software -- just did not want to use textareas anymore. I like Markdown, and I wanted one component that I could use anywhere without bringing along an entire editor framework.It is still very young. The parser is handwritten, the component is essentially one large JavaScript file, and I am certain there are edge cases waiting to be found. If you find one, I am happy to fix it.I have tried to give it a decent safety net. It currently has 951 Playwright checks across Chromium, Firefox, and WebKit, along with hostile input cases, sanitizer fuzzing, and differential tests against CommonMark.I built this because I wanted it for myself, but I think it turned into something kind of cool. I hope some of you enjoy it. I would love hearing what you think, especially if you try it and manage to break something.- Github: https://github.com/Brostoffed/writemark- NPM: https://www.npmjs.com/package/writemark-editor
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- web component for inline markdown editing
- Manually corrected
- False
Could you build this?
Yes A standalone zero-dependency web component for inline Markdown editing is pure client-side JavaScript that an AI coding assistant can generate rapidly.
Discussion
20 comments analyzed.
Competitors mentioned: MacDown (markdown editor with parallel preview), MathJax (math rendering), RTF format editors
Concerns raised: Mobile cursor navigation broken (arrows send to start of line), Lack of mobile creature comforts, Not truly dependency-free despite claims (requires Node.js), Incomplete markdown implementation
Feature requests: Live demo without cloning repo, Full markdown implementation, Better mobile client support, Script tag inclusion without build tools
Competitors
Other products that read as similar to this one — 215 launches clear the similarity bar, closest 8 shown.
Attention rank: #44 of 216 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 266 days after the earliest competitor.
- Markpad · hn · 2026-01-28 · 5 upvotes · similarity 0.55
- Lobster.js · hn · 2026-03-08 · 7 upvotes · similarity 0.52
- A Markdown editor without the bloat · ph · 2026-09-28 · 2 upvotes · similarity 0.52
- Markdown Viewer · ph · 2026-09-06 · 3 upvotes · similarity 0.51
- GitWriter · hn · 2026-02-09 · 5 upvotes · similarity 0.51
- Rune · hn · 2026-06-07 · 5 upvotes · similarity 0.51
- Building a Markdown editor for Mac, iOS and web · hn · 2026-09-27 · 69 upvotes · similarity 0.50
- MarkPress · ph · 2026-09-14 · 1 upvotes · similarity 0.50
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.