← All projects

Inkdown

Inkdown is a markdown editor and sharing platform with live preview, folder organization, GFM support, private-by-default docs, and one-click sharing.

Overview

Inkdown is a markdown editor with live preview, nested folder organization, and public sharing. Documents are private by default with one-click publishing via shareable links.

How It Was Built

The main technical choices behind the product, from system design to the parts that make it work day to day.

  • Implemented nested folder structure with recursive CTEs in PostgreSQL via Drizzle ORM, drag-and-drop reordering via React DnD, and breadcrumb navigation.
  • Built custom markdown editor with syntax highlighting (Prism.js), auto-save (debounced 500ms), and keyboard shortcuts for common formatting.

Impact

  • Replaced flat document lists with a folder hierarchy, making it easier to organize larger knowledge bases and documentation sets.
  • Keeps long documents readable by syncing the editor position with the rendered preview instead of forcing users to jump between views.

Tech Stack

Next.jsNeonDrizzle ORMBetter AuthCloudflare R2Resend