Diff

Added and removed lines, ready for review.

Before and after

On your clipboard
--- a/greet.swift
+++ b/greet.swift
@@ -1,3 +1,3 @@
 func greet(_ name: String) -> String {
-    "Hi, \(name)"
+    "Hello, \(name)!"
 }

Have Peesuto? Copy the sample, then press ⌥V in any text field to get this card.

Pasted with ⌥V ↩ Diff card made from the sample text, in the Review style.

2 styles

Switch after pasting, or pick a default in Settings › Templates.

Diff card in the Review style.
Review
Diff card in the Night diff style.
Night diff

Square or wide

Images fit their content by default; choose 1:1, 4:5, 16:9 or 9:16 for any output. Content that does not fit a fixed frame grows the image, or scrolls in a GIF or video; nothing is cut.

Diff, 1:1.
1:1
Diff, 16:9.
16:9

In motion

Press G in the chooser for a GIF or M for an MP4: the same card, revealed in reading order. The video needs ffmpeg on your Mac.

How Peesuto recognises it

A unified diff, as git diff or diff -u prints it: file headers, @@ hunks, and lines starting with +, - or a space. The added and removed lines are counted for the summary. A commit header from git show or git format-patch (sha, author, date, message) is drawn above it as written.

The exact rules are in docs/templates.md.