Washi

Writing in Markdown

Type Markdown and Washi formats it as you go. The file keeps the Markdown, so every other app can read it.

How it works#

Washi has no separate preview. When you type ## at the start of a line, the line becomes a heading at once. When you close **bold**, the asterisks disappear and the word turns bold. One ⌘ZCtrl+Z brings back the literal text if you wanted the asterisks.

You can also format with shortcuts and the Format menu, without typing any Markdown. To see and edit the raw Markdown, press ⌘/Ctrl+/ for source mode.

Text#

You typeYou getOr press
**bold**bold⌘BCtrl+B
*italic*italic⌘ICtrl+I
~~struck~~struck through⇧⌘XCtrl+Shift+X
a backtick on each sidecode⌘ECtrl+E
<mark>marked</mark>highlighted⇧⌘HCtrl+Shift+H
x^2^x² (superscript)
H~2~OH₂O (subscript, when turned on in Settings)
[Washi](https://washi.malikov.tech)a link⌘KCtrl+K

With text selected, typing *, ` ` or ~` wraps the selection in that mark. Brackets and quotes also wrap a selection.

⇧↩Shift+Enter starts a new line inside the same paragraph.

Headings#

Type one to six # and a space at the start of a line:

# Heading 1
## Heading 2
### Heading 3

Or press ⌘1Ctrl+1 to ⌘6Ctrl+6. ⌥⌘0Ctrl+Alt+0 turns a heading back into normal text. Headings appear in the sidebar's Outline (⇧⌘2Ctrl+Shift+2); click one to jump there.

Lists and tasks#

You type at the start of a lineYou get
- or * or + a bulleted list
1. a numbered list
[ ] or - [ ] an unchecked task
[x] a checked task
> a quote
--- and ↩Entera horizontal line
  • ⇥Tab indents a list item, ⇧⇥Shift+Tab moves it back out.
  • ↩Enter on an empty item ends the list.
  • Click a checkbox to tick it.
  • Format menu shortcuts: bulleted list ⌥⌘UCtrl+Alt+U, numbered list ⌥⌘OCtrl+Alt+O, task list ⌥⌘XCtrl+Alt+X, quote ⌥⌘QCtrl+Alt+Q.

Alerts#

GitHub-style alerts are quotes with a label in the first line:

> [!TIP]
> Press F9 to leave typewriter mode.

The labels are [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] and [!CAUTION]. Each is drawn in its own color.

Tables#

Type a header row and press ↩Enter:

| Name | Price |

Washi makes a table with that header and an empty row. Or insert one with ⌥⌘TCtrl+Alt+T. Then:

  • ⇥Tab and ⇧⇥Shift+Tab move between cells. ⇥Tab in the last cell adds a row.
  • ⌥⌘↑Ctrl+Alt+↑ and ⌥⌘↓Ctrl+Alt+↓ insert a row above or below.
  • ⌥⌘←Ctrl+Alt+← and ⌥⌘→Ctrl+Alt+→ insert a column to the left or right.
  • ⌥⌘⌫Ctrl+Alt+Backspace deletes the row or column.
  • The handle beside a row or above a column opens a menu: insert, delete and column alignment.
  • ⌘↩Ctrl+Enter leaves the table for the line after it.

Cells copied from Excel, Numbers or Google Sheets paste as a table.

Code#

Type three backticks and the language, then ↩Enter:

print("hello")

Or press ⌥⌘CCtrl+Alt+C. The code is colored for its language. With the caret in a code block, a language button appears in its corner. Line numbers can be turned on in Settings.

To leave a code block, press ↩Enter on its empty last line, or the down arrow at the end of a note.

Math#

Formulas use LaTeX syntax, drawn with KaTeX:

Inline: $E = mc^2$

$$
\int_0^1 x^2 \, dx = \frac{1}{3}
$$

⌥⌘BCtrl+Alt+B inserts a math block. Chemistry works with \ce{…}, for example $\ce{H2O}$.

Diagrams#

Mermaid code blocks are drawn as diagrams:

graph LR Idea --> Draft --> Done

Flowcharts, sequence diagrams, Gantt charts, pie charts and the other Mermaid types work.

  • Select text and press ⌘KCtrl+K to add a link. With the caret in a link, a small panel shows its address; ⌘KCtrl+K opens it for editing.
  • ⌘Ctrl-click a link, or put the caret in it and press ⌘↩Ctrl+Enter, to follow it.
  • Links to other notes are relative to the note: [Plan](notes/plan.md). [Plan](notes/plan.md#step-2) opens the note at that heading. [Ideas](ideas) finds ideas.md.
  • [Up](#top) jumps to a heading in the same note.
  • Links to other files open them in their own apps.

Write a note's name in double brackets to link to it anywhere in the folder:

See [[Plan]], [[Plan#Step 2]] or [[Plan|the plan]].

Typing [[ lists the notes in the folder. If no note has that name, following the link creates it. Exports turn wiki links into ordinary links.

Pictures#

![A cat on the keyboard](assets/cat.jpg)
  • Drop a picture onto a note: it is copied into an assets folder next to the note and linked.
  • Click a picture to set its size (Original, or 25 to 100% of the column) and its description.
  • A picture from the web can be saved into assets with Save to assets, so the note works offline.

Footnotes and contents#

Washi saves plain files.[^1]

[^1]: Markdown, to be exact.

A line with [TOC] shows a table of contents built from the headings.

HTML#

The HTML that README files use is drawn as on GitHub: <p align="center">, <img width="200">, <details> and <summary>, <kbd>, <b>, <br>, links and tables. <video>, <audio> and <iframe> show as cards that open on click. Click an HTML block to edit its source.

Typing help#

Each of these can be turned off in Settings.

FeatureExample
Close brackets and quotes( adds ); " adds the closing quote
Smart punctuation-- becomes —, ... becomes …, "text" becomes “text”
Emoji shortcodes:smile: becomes 😄; typing :sm offers a list
Spellingmisspelled words get red dots; right-click for suggestions

Smart punctuation never changes text inside code.

Pasting#

  • Text copied from Word, Google Docs, Pages or a web page pastes as clean Markdown.
  • ⇧⌘VCtrl+Shift+V pastes as plain text, without formatting.
  • Copying from Washi gives other apps formatted text.