@pierre/diffs is an open-source diff and code-rendering library built on Shiki. Supports stacked/split layouts, any Shiki theme (including Pierre's light/dark pack), configurable change styles, annotations for comments and accept/reject UI, merge-conflict primitives, line selection, and token-hover callbacks. Installed with `bun i @pierre/diffs`. Pitched at developer-tool builders — especially AI-assisted coding UIs like Cursor — who need a Cursor-grade diff experience as a drop-in component.

Recent stories
0 linked stories
No linked stories yet.