Notes and links

Writing notes

Notes are written in Markdown: **bold**, *italic*, # headings, lists, > quotes, `code`, fenced code blocks, tables and ~~strikethrough~~. The toolbar above the editor inserts the common ones, and Ctrl+B / Ctrl+I work as usual. Lists continue when you press Enter.

The editor has three modes (Ctrl+E cycles through them): Edit, Split (text and preview side by side) and Reading view: the preview alone, as a column of comfortable width, with the title and source link locked so nothing changes by accident. The tab between the text and the preview folds the text away to read and brings it back (drag it to resize). The mode you choose is kept for the next start; a new note always opens with its text, ready to write.

Options ▸ General ▸ Preview and Reading view sets how the preview lays the text out: whether a single line break starts a new line (as in the editor) or lines join into one paragraph until a blank line (standard Markdown), alignment at the start or justified, line spacing, and the space between paragraphs.

For safety, raw HTML in a note is shown as text and never rendered. Links in the preview open only web pages (http, https), e-mail (mailto), notes, Zotero items and local files (shown in your file manager, see Links to local files). See Privacy and security.

  • In the editor, Ctrl+click follows a [[note link]] (creating the note if it doesn't exist yet), a web, e-mail or Zotero link, a local file link, or a #tag (which lists the notes with that tag). Hover over the text and a tooltip says what the click will do. A plain click just places the caret, so you can still edit link text.
  • In the preview, a normal click follows links.

Insert ▸ Link to a File… (or the folder button on the toolbar) lets you pick a file and inserts a link such as [report.pdf](file:///C:/Users/me/Documents/report.pdf). Dragging a file that isn't an image into the note text does the same. The file is linked where it is; nothing is copied into the vault.

Clicking the link in the preview, or Ctrl+clicking it in the editor, opens your file manager with the file selected. The file itself is never opened or run. Only paths on a local drive are allowed: network (UNC) paths such as \\server\share\file.pdf are refused, because looking them up can send your network credentials to that server.

On KDE Plasma, when Dolphin is your default file manager, Dolphin shows the file even if another file manager is installed.

Every note has:

  • a title (the large field at the top);
  • an ID, a timestamp such as 20261027153012, shown under the title (More ▸ Copy note ID);
  • optional tags, a source link, a picture, a mind map and flashcards.

Type [[ and start typing a title: ZettelApp completes it from your notes. Inside a note, these all link:

See [[Forgetting curve]].
See [[20261027153012]].              (by ID)
See [[Forgetting curve|the curve]].  (custom link text)

Ctrl+K (Insert ▸ Link to Note…) opens a picker that searches titles and text and lets you choose the link type. A link to a title that doesn't exist yet is shown in grey in the preview; click it to create that note. When you later create or rename a note, links that mention its title are updated.

Links can say how two notes relate. Put the link type in front of the link, followed by :::

supports:: [[Forgetting curve]]
contradicts:: [[Rereading notes]]
part_of:: [[Zettelkasten method]]

The built-in link types are:

Type Name Reverse name Directed Line Arrow tip
related Related to Related to no solid, grey none
supports Supports Supported by yes dashed, green filled triangle
contradicts Contradicts Contradicts no dotted, red none
extends Extends Extended by yes dash-dot, blue filled triangle
example Example of Has example yes dash-dot-dot, amber circle
part_of Part of Contains yes long dash, purple diamond
cites Cites Cited by yes solid, teal open arrow

These are the looks of a new vault; you can change them (see below). A vault made with an earlier version keeps the lines it had.

A plain [[link]] is Related to. Instead of the id you can write the type's name, in any language the vault uses (apoia:: as well as supports::).

A directed type can also be written from the other end with its reverse name: in note B, supported_by:: [[A]] is the same link as supports:: [[B]] written in A. So with a type Discusses / Discussed by, a note can say discussed_by:: [[Gramsci]].

A directed type reads differently from each side. If note A supports note B, then B's backlinks show A as Supported by. Directed links get arrow tips in the graph and stay directed in exports. Undirected types such as Related to and Contradicts read the same both ways; when both notes write an undirected link to each other, it is shown once.

To keep both notes' text in step, set Tools ▸ Options ▸ Link types ▸ When a note links another in its text to write the link at the end or the start of the linked note: writing discusses:: [[B]] in A then adds discussed_by:: [[A]] to B (and related:: [[A]] for a plain link), and deleting the link from A's text takes that line out of B again. It is off by default.

To flip a directed link created the wrong way round, right-click it in the side panel and choose Reverse direction. Links written in the text are reversed by editing the text.

The side panel lists the note's Links (outgoing) and Backlinks (incoming), each with its type.

  • Add link… creates a link without writing it in the text.
  • Right-click a link to open the other note, change the link type, reverse its direction, or remove it. Links written in the text are removed by editing the text.
  • From the note list, right-click another note and choose Link from the open note as.

Add, rename, restyle or remove link types in Tools ▸ Options ▸ Link types. Pick a type in the list and change it beside the list:

  • Name and Reverse name: how the link reads from its source and from its target. The reverse name (and the arrow tip) appear only for directed types; until you give one, it follows the name ("Nameon" reads "Reverse Nameon"). In text, reverse_nameon:: always works for the reverse direction, whatever the reverse name.
  • Directed: whether the type reads differently from each side and gets an arrow tip.
  • Colour: click the colour button to choose any colour.
  • Line: solid, dashed, dotted, dash-dot, dash-dot-dot or long dash.
  • Arrow tip: the tip drawn where a directed link arrives: a filled triangle, an open arrow, a diamond, a circle or a bar.

The preview shows two notes joined by the link, with its name and how it reads from the other side. The style is used wherever links appear: the graph, its legend, the side panel, the link picker and the website, GraphML and Graphviz exports. Give each type its own line as well as its own colour, so the types stay easy to tell apart for colour-blind readers and on paper. A new type starts with a colour and a line that few other types use.

In text, use the type's id, shown under the preview (e.g. a type called "Inspired by" becomes inspired_by::). The id is set when the type is created, so renaming a type doesn't break links written in your notes. Removing one of your own types turns its links into Related to links, so nothing is lost. Built-in types can be renamed and restyled but not removed.

Tags

Add tags in the tag field under the title (press Enter after each), or write them in the text with a hash sign, like #welcome or #math/algebra. Tags are lower-case and may be nested with a slash, such as math/algebra. Filtering by math also finds notes tagged math/algebra. Use the tag filter above the note list, or type tag:name in the search box. The number beside each tag counts the notes that filter shows.

Tags written in the text are real tags, shown as outlined chips next to the Add tag box. They disappear when you delete the #tag from the text. A #tag is ignored inside code, inside link targets and in [[#headings]]. Tags typed in the Add tag box are separate: they stay until you remove them with their ✕. Ctrl+click a #tag in the editor to list the notes that have it.

Tag ontology

You can also say how tags relate to each other, without renaming them. Open Tools ▸ Tag Ontology…, or the small button beside the tag filter, and add relationships:

Relationship Example A filter on the first tag also finds…
Parent → child statistics is the parent of bayes notes tagged bayes, and its children in turn. A tag can have several parents.
Synonym / alias ml is a synonym of machine-learning notes with either tag, whichever you filter by.
Related concept memory is related to sleep nothing more, until you tick Also find notes with related tags in the small button's menu.

A tag in a relationship doesn't have to be on any note, so statistics can exist just to gather other tags. Relationships only change what filters and searches find: your notes and their tags stay as they are. Double-click a relationship to see its first tag's notes. ZettelApp archives carry the ontology, and MCP clients can read it. The dialog's Graph tab draws the ontology: arrows go from parents to children, dashed lines join synonyms and dotted lines related tags.

The field with the globe icon holds the note's source: a web page (https://…), an e-mail address, or a Zotero item (zotero://select/library/items/…). The button next to it opens the link. Other kinds of links are refused. See Zotero to create notes straight from your Zotero library.

Images

Insert images with Insert ▸ Image… (Ctrl+Shift+I), by pasting from the clipboard, or by dragging image files onto the editor. Supported formats: PNG, JPEG, GIF, WebP and BMP, up to 25 MB. SVG is refused on purpose, because SVG files can carry scripts.

Images are checked by their content (not their file name), stored once in the vault's assets folder under a name derived from their content, and referenced like this:

![Diagram](asset:3f2a9c0b1d4e5f6a7b8c.png)

The first image you add to a note becomes its title image. It is shown as a small rounded thumbnail in the note list and inside the note's circle in the graph. Right-click any image in the editor or preview and choose Use as title image to pick another one, or Remove title image to have none. Deleting the title image from the note's text also clears it as the title image.

Checklists

Start a line with - [ ] (or press the checklist button in the toolbar) to make a task. - [x] is a completed task. In the preview, click the box to tick it; pressing Enter at the end of a task starts the next one, and Enter on an empty task ends the list.

Alarms

Press the alarm button (or Insert ▸ Alarm…) to set a date and, optionally, a time for a note. When it is due, ZettelApp shows a notification; click it to open the note. ZettelApp has to be running to notify you, and alarms that came due while it was closed fire shortly after you open the vault. Alarmed notes show a bell in the note list. Use Remove alarm in the same dialog to clear it.

Formulas

Write LaTeX between dollar signs: $E = mc^2$ is inline and $$\int_0^1 x^2\,dx$$ is a display formula. The formula button (Insert ▸ Formula…) opens a dialog with a live preview. Formulas are drawn in the preview; exports keep the LaTeX source.

Mind maps

Each note can carry a mind map (the Mind map tab, or Insert ▸ Mind Map). Branches are coloured automatically.

Key Action
Tab Add a child idea
Enter Add a sibling idea
F2 or double-click Rename
Del Delete the selected idea
Arrow keys Move the selection
Mouse wheel / drag Zoom / pan

Right-click an idea to link it to a note; a linked idea shows a link icon and opens that note. From links builds a mind map from the note's links, grouped by link type, with the linked notes' own links one level deeper. Export saves the map as a PNG or SVG image, or as a FreeMind file (.mm), which FreeMind, Freeplane and XMind can open.

Flashcards

Flashcards turn notes into review material (see Review, quizzes and Anki). There are two ways to make them:

In the note text. These become cards automatically and update as you edit:

Q: Who described the forgetting curve?
A: Hermann Ebbinghaus

{{c1::Retrieval practice}} is also called active recall.

A question can span several lines until the A: line. Any paragraph with {{c1::…}} becomes a cloze card, which hides each deletion in turn. {{c1::text::hint}} shows a hint instead of […]. In review, the blank is bold and revealing fills it in where it is, which also works for clozes inside a table.

In the Flashcards tab. Use Insert ▸ Flashcard… (Ctrl+Shift+F) for cards that shouldn't appear in the note. Cards from the text are marked from note text and are edited in the text.

The search box (Ctrl+F) looks through titles, text and tags, ignores accents, and matches word prefixes, so forget finds forgetting. Add tag:name to keep only the notes with a tag, for example memory tag:psychology. The best matches come first and each one shows the part of the note around your word; without a query, notes follow the order picked with the sort button next to the tag filter (Last edited, Created, Title, Most linked, Closest in meaning to the open note or Fewest links away from the open note). The last two put the open note first and follow it as you move between notes; Closest in meaning, the default, compares the notes' words (LSA) and catches up a moment after you edit.

Several kinds of match work together, and Tools ▸ Options ▸ Search sets how much each one counts:

  • Full text: your words anywhere in the note.
  • Fuzzy: small typos in titles and tags, so quantom finds Quantum.
  • Tags and ontology: a word that names a tag finds that tag's notes, plus those of its children and synonyms.
  • Semantic (optional): notes that mean something similar, as below.

Semantic search finds notes by what they mean, even when they share no words with your search: how do plants make food can find a note on photosynthesis, and it works across languages. It stays off until you set it up, either by ticking Set up semantic search in the installer (ZettelApp then downloads the model the first time it starts) or here:

  1. In Tools ▸ Options ▸ Search, click Download model (135 MB, once, from Hugging Face).
  2. Tick Use semantic search and click OK.

ZettelApp then indexes your notes in the background, and keeps up as you edit them. Results from the words you typed appear at once; notes found by meaning join them a moment later, marked ≈ similar meaning. The model runs on your computer and your notes never leave it. While in use it takes about 500 MB of memory, which is freed two minutes after your last search. Remove model and index on the same page deletes all of it.

Better results from your feedback

Tick Improve ranking from my explicit feedback in Tools ▸ Options ▸ Search, then right-click a search result and choose Relevant result or Not a relevant result. The kinds of match behind the results you mark count for more or less from then on. Only those clicks are used. ZettelApp keeps a running total per kind of match, on this computer, and nothing about which notes you marked or what you searched for. Reset learned preferences forgets it all.

Selecting several notes

In the note list, Ctrl+click, Shift+click or Shift+arrows select several notes. Right-click the selection to duplicate them or move them to the Trash (in the Trash, to restore or delete them), or press Delete to move them to the Trash.

Edit ▸ Duplicate Note (Ctrl+D) copies a note: its text, tags, source link, picture, mind map, the links it makes and the flashcards you wrote by hand. Links to it, its alarm and its review history aren't copied.

Trash

Move to Trash (Ctrl+Delete) hides a note without deleting it. An undo button appears right away, and the Trash button under the note list shows trashed notes: right-click to Restore or Delete permanently. Empty Trash deletes everything in it after asking. Links to trashed notes are hidden, and come back when the note is restored.