etch

A rich text editor that writes clean Markdown, built because the one I was using had more dead dependencies than features.

npm 

I needed a good editor for my own projects: the kind where you type / and get a menu of blocks, and clean Markdown comes out the other end. The popular option was Novel.js, and it came with a pile of stale dependencies. So I built my own on Tiptap v3, with none.

It started life as Verso and was renamed etch two days later. Names matter.

What is in the box

  • More than 25 block types behind the slash menu, from callouts (eight kinds) to tables and code blocks with syntax highlighting for 55 languages.
  • Mentions, a read-only viewer and email-safe HTML export, added in 0.5.0, a release driven entirely by what the apps using it actually needed.
  • Twelve switches to turn features off, because an editor in a comment box should not offer a table of contents.

It is published on npm as @mydrift/etch and runs in production as the editor of a club website I built.

The experiment that did not make it

For a few days etch had a sibling called Sketch: the same editor with an Excalidraw whiteboard built in. It was fun, it was also a second product, and it got stripped back to a work-in-progress. Knowing when to stop is a feature too.