Scribe

unlisted

by Julius Paetzke

Draw, mark up and write on images and on empty surfaces, right inside your notes.

Updated 2mo agoMIT
View on GitHub

Scribe logo  Scribe

Scribe is an Obsidian desktop plugin for editable drawings on images and empty surfaces.

Scribe lets you draw on the images in your notes, and on empty sheets where there is no image at all. It puts a pen next to Obsidian's own image buttons: click it, and the picture opens for freehand strokes, lines, arrows, boxes, ellipses and text.

Everything you draw stays editable. Come back a week later and move the arrow, recolour the circle, or take it all off again; the picture you started from is still underneath.

Scribe's editor over a transparent sheet: the toolbar with tools, colours and widths, and a circle, an arrow, a box and a freehand line drawn in red

Get started

Requirements

Obsidian 1.13 or newer on desktop, as specified in manifest.json. Building requires Node.js and npm.

Installation

With BRAT, which keeps it up to date: add apfelFunker/obsidian-scribe under BRAT → Add beta plugin.

By hand:

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Put them in <your vault>/.obsidian/plugins/scribe/.
  3. Turn on Scribe in Settings → Community plugins.
Build from source
npm ci
npm test
npm run build

Copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/scribe/, then enable Scribe in Community plugins.

Usage

Draw on your first image

Hover an image in a note and click the pen in the buttons that appear. Draw, then press Done. The drawing is saved into the image file, and the note shows it straight away.

The pen in Obsidian's image action bar, next to Zoom in, on a chart in a note

The same note after drawing: a circle and an arrow mark the summer peak, a box marks the cold months

Draw where there is no image

Press Cmd/Ctrl + Ctrl + M. An empty, transparent 16:9 sheet lands at your cursor. Drag its corner into the shape you want; while the sheet is empty, width and height move freely, then open it with the pen and draw.

An empty sheet in a note, outlined, with its corner for resizing

A sheet with a hand-drawn plan: three boxes joined by arrows, a tick and a note

Drawing tools

Reach the pen from anywhere an image is shown. In the image action bar next to Zoom in, on images in reading view, and in Obsidian's image viewer.

Obsidian's image viewer with Scribe's pen in its top-right corner

Keep a sheet's shape once it matters. An empty sheet takes any shape you drag it into. The first stroke settles it: from then on Obsidian's own corner scales the sheet without distorting what you drew.

Draw without fighting the tool. Freehand strokes are smoothed, but sharp corners stay sharp. Lines snap to 45° steps, boxes snap to squares, and edges and centres snap to other objects with guides. Hold Shift to force a snap, Cmd/Ctrl to ignore every one of them.

Pick things up instead of drawing over them. With any tool, a click takes hold of what you hit; only a drag draws. Click a text with the text tool and you are editing it again.

The editor reopened on a drawing from last week: every circle, arrow and text is still a separate, editable object

Bring Excalidraw annotations along. A command converts images annotated with the Excalidraw plugin into Scribe drawings.

Draw on an imageThe pen: in the image's action bar, in reading view, or in the image viewer
New empty sheetCmd/Ctrl + Ctrl + M, or the command Insert drawing surface
Resize a sheetDrag its corner; free while empty, proportional once drawn on
ToolsV select · P pen · L line · A arrow · R rectangle · O ellipse · T text
Undo / redoCmd/Ctrl + Z · Cmd/Ctrl + Shift + Z
Delete selectionBackspace
LeaveEsc keeps what you drew · Cancel throws it away

The hotkey is free to change in Settings → Hotkeys.

Storage

A drawing is written into the image itself, in two private PNG chunks: skDt holds the editable elements, skOr holds the original picture. What comes out is an ordinary PNG; it shows the drawing everywhere: in Obsidian, in Finder, on the web, in an export. Nothing is stored beside your vault, and nothing breaks if the plugin is gone. Remove every element and save, and the original picture is back.

Left: the original chart, kept inside the file. Right: the same file with the drawing on top

Images that are not PNG become PNG on the first save, and Obsidian updates the links for you.

Scribe saves changes to the selected image when you press Done or dismiss the editor. Cancel discards changes.

Next steps

Contributing

Bug reports and ideas are welcome in the issues. If you send a pull request, please keep the tests green: every behaviour in src/ that can be tested without Obsidian has a test in tests/unit/.

License

MIT. See LICENSE.

Scribe is a community plugin. It is not made or endorsed by the Obsidian team. The Obsidian app icon used in the project artwork belongs to Obsidian.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.