frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Writemark, a dependency free web component for inline Markdown editing

11•_boffin_•2h ago
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

Comments

teo_zero•1h ago
How can it be defined dependency free if it depends on Node.js?
_boffin_•54m ago
Dependency-free means zero runtime dependencies, not no dev tools. Could have explained that better.
teo_zero•43m ago
Do you mean I don't need Node.js on the machine where I run it?
jjice•40m ago
It's a web component so you run it in the browser without dependencies after it's already been built with Node.
_boffin_•27m ago
Doesn’t need to be built by node. It’s standalone.

GM Backs Sodium Ion Batteries for U.S. Grid Storage

https://spectrum.ieee.org/sodium-ion-battery-peak-energy
49•rbanffy•1h ago•7 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
90•mellosouls•2h ago•42 comments

Did They Ghost You?

https://didtheyghostyou.com/
99•mooreds•2h ago•40 comments

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
498•Gecko4072•5d ago•116 comments

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
852•shscs911•15h ago•401 comments

Producing ammonia and fertiliser using wind power in Morris, Minnesota

https://ammoniaenergy.org/articles/flexible-renewable-ammonia-demonstrator-now-operational-in-min...
67•gritzko•3h ago•26 comments

Kimi K3 built a Windows XP in browser

https://windows-xp.kimi.site/
7•boveyking•46m ago•5 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
14•birdculture•3d ago•2 comments

Multicast TV Distribution on My Home Network

https://www.apalrd.net/posts/2026/isp_mcast/
15•mrngm•1h ago•2 comments

Fly.io CEO Kurt Mackey is stepping down

https://fly.io/blog/kurt-scott-money-sprites/
102•subarctic•2h ago•51 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
94•stunningllama•1d ago•9 comments

Who does Anubis actually stop?

https://fzakaria.com/2026/07/09/who-does-anubis-actually-stop
22•type0•1h ago•22 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
89•jsax•5h ago•31 comments

Digital Intelligence: Why Humanity Created What It Does Not Understand

https://singularityforge.space/2026/07/26/illusion-of-control/
4•Voice_of_Void•51m ago•2 comments

Open-weight AI is having its Kubernetes moment

https://tobi.knaup.me/2026-07-25-open-weight-ai-is-having-its-kubernetes-moment/
278•tknaup•7h ago•226 comments

Bitchat is now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
189•h1watt•9h ago•116 comments

Zero roadkill as Amazon canopy bridges secure 15,000 crossings

https://news.mongabay.com/2026/07/zero-roadkill-as-amazon-canopy-bridges-secure-15000-crossings/
240•hn_acker•3d ago•77 comments

How My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
206•surprisetalk•3d ago•73 comments

Show HN: Minesweeper Raycasted

https://claude.ai/public/artifacts/725f961b-09dc-4a66-8dac-8fefeeb69a1f
11•franze•3h ago•6 comments

Show HN: Yorishiro – a macOS terminal where AI agents live

https://github.com/sktkkoo/Yorishiro
23•hakumei•3d ago•5 comments

General Resolution: LLM Usage in Debian

https://www.debian.org/vote/2026/vote_002
18•zdw•3h ago•6 comments

Bringing PyTorch Monarch to AMD GPUs

https://pytorch.org/blog/bringing-pytorch-monarch-to-amd-gpus-single-controller-distributed-train...
56•gmays•6h ago•6 comments

The Dark Night of Mathematics

https://kirwinhampshire.substack.com/p/the-dark-night-of-mathematics
138•rmdmphilosopher•6h ago•163 comments

Show HN: Writemark, a dependency free web component for inline Markdown editing

11•_boffin_•2h ago•5 comments

Building a Tiny 3D Renderer for a Tiny Handheld

https://saffroncr.itch.io/katavatis/devlog/1534514/building-a-tiny-3d-renderer-for-a-tiny-handheld
227•g0xA52A2A•3d ago•17 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•10h ago

The growing vigilante movement to knock out Flock surveillance cameras

https://www.theguardian.com/us-news/ng-interactive/2026/jul/25/flock-surveillance-cameras
135•bookofjoe•3h ago•59 comments

Spatial languages: Writing code in 2D

https://shukla.io/blog/2026-07/cccx.html
97•BinRoo•3d ago•37 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
126•6581•11h ago•36 comments

Tile's security is so bad it's a feature for stalkers

https://blog.adafruit.com/2026/03/05/tiles-security-is-so-bad-its-a-feature-for-stalkers/
120•sambellll•4h ago•40 comments