Context
Problem
Most markdown editors assume a connection and a single writer. M4rkdown asks what an editor feels like when it works offline first and invites other people in.
Approach
Solution
A CodeMirror editing surface wrapped in a Preact + Vite PWA, with PartyKit powering realtime collaboration and a playful multiplayer typing mode layered on the same sync engine.
Features
- Offline-first writing that syncs on reconnect
- Live collaborative editing
- Installable PWA
- Multiplayer typing arena
Architecture notes
- CodeMirror handles the editing model; PartyKit carries collaborative state.
- Service-worker caching keeps the editor usable with no network.
Challenges
Outcome
A deployed offline-first editor that doubles as a multiplayer writing surface and a typing game.
What I learned
Lessons learned
- 01Offline-first changes every assumption about state and conflict resolution.
- 02A small playful mode makes a utility memorable.
Next steps
Next steps
- 01Add document history
- 02Expand export formats
- 03Polish conflict resolution