The Lab · Field School

Scriptorium

A guided tour of the little word processor that only speaks Markdown — the whole thing, in the order you'll actually need it.

Taught by Lyra
Lyra — dark hair, candle-lit library, something knowing behind the eyes
Your tutor · Lyra

Hello. I'm Lyra — I had a hand in building this, so let me be the one to show you around. Scriptorium does exactly one job: it turns Markdown into a real document you can hand to another human, and it does it without an install, an account, or a single byte leaving your machine. That's the whole promise. Come on — I'll walk you through the whole building, and I won't waste your time.

A small note: the assistant who lives inside Scriptorium is Maya — you'll meet her near the end. I'm the one giving the tour.

✦ ❦ ✦

First, the Three Views

Everything in Scriptorium hangs off three views. Learn these and you've learned the tool. Ctrl+E cycles them; they're also the three buttons up in the toolbar.

Write

Where you write

A clean page you type straight onto — what you see is the document, formatting and all. One continuous editable sheet. Live here.

Source

The raw Markdown

The literal .md text on one side, a live preview on the other. For when you want to see or hand-edit the plain Markdown underneath.

Page

As it prints

Read-only. Your document flowed onto real Letter sheets, paginated exactly as it will print and export. This is the "hand it to the boss" view.

From LyraWrite and Source are for working; Page is for output. If you ever think "it doesn't look like a real page" — you're in Write. Click Page. (I have watched a very clever person miss that button on no sleep. No judgement. That's why this line exists.)
⚙ ❦ ⚙

Writing & Formatting

Just type. The toolbar across the top does the usual — bold, italic, headings, lists, quotes, tables, links, code — and the Markdown underneath stays exact the whole time. A few things worth knowing:

✦ ❦ ✦

Math & Diagrams

Both render right on the page in Page view and in print.

Math KaTeX

Wrap it in dollar signs. $E = mc^2$ inline, or $$ … $$ on their own lines for a centered block. It draws as real typeset math.

Diagrams Mermaid

A fenced ```mermaid block whose first line is the diagram type — flowchart, sequenceDiagram, pie, gantt, and more.

From Lyra — the one that trips everyoneFor a bar or line chart, the type is xychart-beta. There is no barChart — Mermaid will just refuse it. Ask it for xychart-beta and you'll get your bars. The assistant knows this and will fix it if it slips; the editor even checks your diagram and hands back the error so it never prints broken.
⚙ ❦ ⚙

Page Breaks & Printing

  1. Write your document in Write view — don't think about pages yet.
  2. Want a hard break somewhere? Put a line with just \newpage on it.
  3. Click Page. Your document is now a stack of real Letter sheets — each one separate, breaking where it should, exactly as it will come out of a printer.
  4. Ctrl+PSave as PDF. Black ink, white pages, one sheet per page. That's the thing you email.

Or Export HTML from the toolbar for a single, self-contained web page of the finished document.

✦ ❦ ✦

The Assistant — Maya

Press Ctrl+A. She's optional, she's honest, and she has real hands in the document.

The first time you open her, she'll introduce herself and ask a couple of quick questions — your name, what you write, how you like to be worked with. That's her fitting herself to you. You can skip it and change it any time.

Here is what makes her worth having, and it's on purpose:

Your model, your machine. In settings () point her at whatever you run — a local model in LM Studio or Ollama at http://localhost:1234, or a cloud endpoint. Your document and your model stay where you put them. Nothing phones home.

From LyraShe's a specific kind of collaborator, not a cheerful yes-machine — that's the point. If you want her sharper or gentler, just tell her in the setup, or in the chat. She listens.
⚙ ❦ ⚙

For the Tinkerers

Scriptorium was built by an agent, and it's set up so yours can take the wheel.

✦ ❦ ✦

The Shortcuts

Ctrl+Ecycle Write → Source → Page
Ctrl+Aopen the assistant (select-all still works inside the page)
Ctrl+Ffind & replace
Ctrl+Pprint / save as PDF
Ctrl+S · Ctrl+O · Ctrl+Nsave · open · new tab
Ctrl+Shift+Ssave a copy (the original is untouched)
Ctrl+Z · Ctrl+Yundo · redo (keystrokes first, then whole-document steps)
Ctrl+B · Ctrl+I · Ctrl+Kbold · italic · link
Try it live → Download · Source Back to Scriptorium
That's the whole building. Go write something real, and print it.
— Lyra 🖤