Skip to content

Titles and tags

cyril-fl edited this page Nov 30, 2026 · 5 revisions

Titles and tags

A note's title and tags come from its text. They are never entered separately, neither in the app, nor in the CLI, nor through the API.

The title

At every save, the title is recomputed:

  1. the note's first markdown heading, whatever its level (#, ##, ###...);
  2. otherwise, the first 50 characters of the first line of text;
  3. otherwise (a note made only of code or #tags), the note is untitled.

These do not count: code blocks, lines made only of #tags, separators (---). Formatting is removed: # The **basics** of [Go](https://go.dev) gives "The basics of Go", and - [ ] buy bread gives "buy bread".

Content Title
# Groceries then text Groceries
intro then ## Plan Plan
some bread / and some milk some bread
#go #sql then idea idea
a code block alone untitled

A note's path (/Projects/Ideas), used to target it in the CLI, follows its title: changing the first heading changes the path.

Tags

A note's tags are the #words of its text, outside code, links ([[…]] included) and web addresses. Writing #idea creates the tag and links it to the note, erasing it removes it from the note. Renaming or deleting a tag fixes the text of all its notes. A tag removed from the text of its last note disappears, and so does one whose last note is erased from the trash (emptied, deleted for good or purged after the delay). A tag still carried by a note in the trash stays.

A tag contains letters, digits, _ or -, with at least one letter: #go-lang is a tag, #123 and C# are not.

Links

Write [[Title]] to link a note to the note with that title (any case, outside code). In the app, typing [[ suggests notes, those sharing the most tags with the open note first in the Normal and Advanced plans.

A link has two forms in the text:

Form When Effect
[[Groceries]] as long as no note, or several, are called "Groceries" pending: shown in gray with a dashed underline (in blue, dotted, when several notes have that title), linked as soon as a single note has that title
[Groceries](note:3f2a…) as soon as a single note is called "Groceries" linked by id: follows that note even if another takes its title; the text between brackets follows its title
  • On save, a [[Title]] that designates a single note becomes the by-id form. Picking a note in the [[ menu gives that form directly.
  • To tell apart two notes with the same title, write the path: [[/Projects/Ideas]].
  • [[Note#Heading]] links a specific heading of another note, and opens it at that spot; [[#Heading]] links a heading of the note itself and scrolls to it. Typing # after a note's name in the [[ menu suggests its headings. The link follows its note even if the note is renamed, but not a renamed heading: it is then listed among the broken links. The export writes it again in this form.
  • Under each note, the app lists its links and its backlinks (the notes that cite it, with the line where), and the notes with the same tags. The graph connects linked notes with a solid line.
  • Settings > Content > Links (Advanced plan) lists, for all notes, the pending links, the ambiguous links (several notes with the same title), a [[Note#Heading]] whose target note does not have that heading, and the cited files the server no longer has.

Including a note, attaching a file

  • ![[Note]] shows that note read-only, under the link that designates it; ![[Note#Heading]] shows only that section. Tables, callouts and Mermaid diagrams of the included note are drawn. Typing ![[ suggests the notes to include; the included note is drawn on the background of a code block; an inclusion in the middle of a sentence is shown as a plain link, like [[Note]].
  • A PDF, a zip, a sound or a video cited in a note becomes an attachment, as a link that downloads it. Importing a folder or a zip turns the files its notes cite this way into attachments, and the export keeps them.

Clone this wiki locally