Writemark - Dependency-free inline Markdown editing web component
Show HN: Writemark, a dependency free web component for inline Markdown editing
Writemark is a lightweight, dependency-free web component designed to transform the Markdown writing experience by enabling inline editing without the bulk of traditional frameworks. It renders Markdown in real-time while preserving the raw text for storage and submission, supporting features like slash commands, tables, and code blocks. With native form support and a flexible API for custom controls, developers can drop a single tag into any project. Built iteratively with a focus on performance and safety, it includes extensive Playwright tests and sanitizer fuzzing, offering a clean, framework-agnostic solution for modern content creation.
I wanted one component that I could use anywhere without bringing along an entire editor framework.
- yabdulaah52
Inline editing is underrated. Being able to see mistakes instantly cuts down a lot of the trial‑and‑error debugging in Markdown-heavy projects.
- sheept
It'd be nice if there was a live demo without needing to clone the repo. Though I suppose I could just try it out with a bookmarklet:
javascript:import('https://esm.sh/writemark-editor').then(() => document.body.append(document.createElement('writemark-editor')))
- teo_zero
How can it be defined dependency free if it depends on Node.js?