Writemark - Dependency-free inline Markdown editing web component

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

Writemark - Dependency-free inline Markdown editing web component

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.
  1. 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.

  2. 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')))

  3. teo_zero

    How can it be defined dependency free if it depends on Node.js?

More from this day

2026-07-25