Contents

Links and footnotes

Select text and press ⌘K (Ctrl+K), or use the link button on the selection toolbar. With nothing selected, ⌘K inserts a new link. The link form has the URL and the Label, and Apply; for a link that already exists it also offers Open and Remove. Pointing at a link shows where it goes.

Clicking a link:

In the Mac app: a link to another kind of file in the folder — a PDF, a picture — opens a preview inside Olive.

Type [[ to search the Markdown files in your folder and link one. Type # after a note's name — or straight after [[ for the note you are in — to pick one of its headings instead. Olive writes an ordinary Markdown link, [name](relative/path.md) or [name](relative/path.md#heading), so the note stays readable in any other editor.

Obsidian-style wikilinks work too: [[name]], [[name|label]], [[name#heading]], and [[#heading]] for a heading in the note you are in. Clicking one opens it. If you write a wikilink out by hand and close the ]], it becomes a wikilink there and then, so you can keep writing them if that is your habit — the [[ search above is simply the way Olive inserts links itself.

A wikilink is treated as one word. The caret sits before or after it rather than inside, the arrow keys step over it, and one Backspace removes the whole thing. Its spelling is written back exactly as it stands, and editing the text around it leaves it alone. To change it, right-click it or press ⌘K to edit its label or target, which keeps the [[…]] form; To Markdown link in that form turns it into an ordinary link.

When you rename or move a note — in the sidebar of the Mac app, or in VS Code's Explorer — Olive rewrites the links that pointed at it, and the links inside it that pointed elsewhere. This covers ordinary Markdown links and wikilinks alike.

Renaming a heading works the same way: when you change a heading's text and move on, links to that heading — in the same note and in other notes — are rewritten to the new text.

In the Mac app: the message reads "Updated links in 2 other notes" and has an Undo button. If some notes could not be updated, the message says so and stays until you close it.

Footnotes

A footnote reference such as [^1] stays compact in the sentence, and its definition, [^1]: …, appears as a quieter block that you edit like any other text.

Labels cannot contain spaces or tabs. That is a GitHub Markdown rule rather than an Olive one, so [^my note] stays plain text.


Back to the contents.