MojoPad

Clippings and the Insert Menu

Clippings are reusable snippets you insert at the cursor — boilerplate, signatures, canned replies, code blocks you paste weekly.

Making a clipping

Create a page named Clipping: Something — say, Clipping: Sign Off — and put the snippet in it. It immediately appears under Edit ▸ Insert ▸ Sign Off. Rich text clippings keep their formatting when inserted into rich pages; everything else inserts as text.

Script clippings

If a clipping's content starts with #!, choosing it runs it as a shell script and inserts whatever it prints. The classic:

#!/bin/zsh
date '+%A, %B %d, %Y'

…inserts Thursday, June 11, 2026 at the cursor. Anything your shell can print, a clipping can insert: git status, the weather, a UUID, this week's sprint number.

Run a whole page

Relatedly, Go ▸ Run Page as Shell Script executes the current page's text with /bin/zsh and shows the output — a scratchpad for small scripts that live with your notes. Scripts run with your user account's permissions, the same as typing them in Terminal, so treat pages you didn't write with appropriate respect.