SelfscribeDownloadOpen the app

Start here

A Selfscribe document is a plain text file. A few lines at its top, the rules block, say what its marks mean, and Selfscribe draws the page from them. This page takes five minutes.

Make a document

#

Press Ctrl+N, or New document on Home. Type under the rules block:

The text
~~~ selfscribe
use markdown
~~~
# Shopping

- **bread**
- milk
- eggs
The page

use markdown borrows the built-in Markdown rules, so the usual marks work at once. In the editor the rules block folds into a small Rules chip. Click it to open it.

Choose how you see it

#

The buttons at the top right show the same text five ways. Alt+M steps through them.

ModeWhat you see
SourceThe plain text, every mark showing.
HybridThe text drawn as you type. Marks show only where the caret is.
WriteThe finished page, and you type straight onto it.
PreviewThe finished page, to read.
SplitThe text and the page side by side.

Add a rule of your own

#

Open the rules block and add one line under use markdown:

The text
~~~ selfscribe
use markdown
word  eggs  -> mark
~~~
- bread
- eggs
The page

A rule says where to look (word), what to look for (eggs) and what it becomes (mark). CSS in braces says how it looks. A line rule takes a whole line, and _ stands for the text that varies:

The text
~~~ selfscribe
use markdown
line  !! _  -> p  { color: crimson; font-weight: 700 }
~~~
!! The shop closes at six.

Bring a bag.
The page

Name your colours

#

Write a colour once in a palette, with a shade for dark pages, and use it anywhere as var(--name):

The text
~~~ selfscribe
use markdown
palette  alert  #c92a2a  dark #ff8787
line  !! _  -> p  { color: var(--alert); font-weight: 700 }
word  SOLD  -> strong  { color: var(--alert) }
~~~
!! The ferry is full.

Tickets for Sunday: SOLD out.
The page

Change the palette line and every rule that uses it follows. The swatch beside a colour in the rules block opens a picker.

Ask what anything is

#

Open the Inspector from the rail, the strip of buttons at the edge of the window. Put the caret on anything and the Inspector says what it is, which rule made it and how it looks. On a line of the rules block, it shows everything that rule matches.