Every feature below follows the same rules as the rest of the app. Content lives only inside sealed objects. Anything built from note text (tags, links, the graph) is computed in memory after unlock and never written to disk. Nothing is loaded from the network.
| Feature | Where | Stored as | Privacy and security |
|---|---|---|---|
| Pin, favourites | note menu, ☆ / pin buttons |
pinned, favorite flags inside the note object |
Encrypted with the note; pinned notes sort first in their folder |
| Archive | note menu → Archive; sidebar Archive | archived flag |
Hidden from the tree, still searchable, included in exports |
| Trash | note/folder menu → Move to trash; sidebar Trash | trashed = time it was trashed |
Content stays encrypted. Empty / Delete for good write a tombstone that wipes the content. Items older than 30 days are deleted at unlock. Trashed notes are not searched |
| History | note menu → History… | rev objects (type R), parent = the note |
A version at most every 10 minutes while editing, 30 per note; deleted with the note. Restoring keeps the replaced text as a version |
| Attachments | 📎 in the toolbar, or paste an image | file objects (type A), parent = the note |
Type detected from the bytes. Location and camera data are removed before storing (JPEG APP1/APP13/COM, PNG eXIf/tEXt/zTXt/iTXt/tIME, WebP EXIF/XMP). ≤ 4 MB each. Images are decrypted into memory and shown through blob: URLs, which are revoked on lock. Saving a file writes plaintext, chosen in a native dialog (desktop) or a download (web). Export puts a note's files in a <note> files folder beside its .md and rewrites the links, so the export opens in any Markdown app |
| Lock a note | note menu → Lock with a password… | locked = the body encrypted with the note password; body is empty |
Argon2id + ChaCha20-Poly1305, see Cryptography. Unreadable while the vault is open, in search, tags, links, the graph and exports. Its versions are deleted when it is locked and none are made while locked. Note passwords have their own back-off. A locked note cannot have attachments. The title stays visible in the list |
| #tags | write #tag anywhere; sidebar Tags |
nothing extra (read from the text) | Index rebuilt in memory; #a also lists #a/b |
| [[Links]] and backlinks | [[Note title]] or [[Note title|text]]; toolbar [[ ]] |
nothing extra | Resolved by title (Unicode-normalised, case-insensitive). A missing target offers to create the note. "Linked from" is listed under each note |
| Graph | sidebar Graph | nothing extra | A force layout drawn as SVG with DOM calls; up to 400 notes; locked and archived notes are left out |
| Charts, flowcharts, math | ```chart, ```flow, $…$, $$…$$; toolbar Chart / Flow / ∑ |
nothing extra | Drawn by ui/viz.js with createElementNS only: no HTML strings, no inline styles (colours come from CSS classes), no third-party library. Inputs are bounded (60 chart rows, 6 series, 60 boxes, 120 arrows, 40 blocks per note, TeX depth 20) |
| Quick switcher | Ctrl/Cmd+O |
nothing | Searches titles already in memory; can create a note from what was typed |
| Templates, daily note | notes in a top-level Templates folder; sidebar Today | ordinary notes | {{date}}, {{time}}, {{title}} are filled in. Today opens or creates YYYY-MM-DD in Daily notes, from the template named Daily if there is one |
| Import | Settings → Data → Import… | ordinary notes (and attachments) in a new folder named after the export | Read on the device from the files the user picks; encrypted as they arrive. Zips, Evernote and HTML are read in ui/import.js, the text formats in crates/core/src/import.rs (fuzzed). See Import |
Charts
```chart
type: bar (bar, line or pie)
title: Sales
series: 2025, 2026 (optional names)
Jan: 10, 12
Feb: 14, 18
```
Flowcharts
```flow
Start -> Check
Check -> Done : yes
Check -> Fix : no
Fix -> Check
```
Boxes are placed in rows by the longest path from the start; arrows that go back up (loops) are drawn around the side.
Math
$E = mc^2$ inline, or a $$ block. A TeX subset is rendered as MathML: ^, _, \frac, \sqrt (with an index), Greek letters, common operators and arrows, \text{}, \left/\right. Prices such as $5 and $10 stay plain text: a closing $ must not be followed by a digit, and the text inside must not start or end with a space.
Import
Settings → Data → Import… reads an export of another app: a .zip, an Evernote .enex, a .json or .bear2bk file, or a folder. The user guide has step-by-step instructions for each app.
| From | Export to choose | Read by |
|---|---|---|
| Evernote | .enex (notebook export) |
ui/import.js: ENML → Markdown; resources become attachments, matched to <en-media> by their hash; tags; checklists |
| Notion | Markdown & CSV .zip (also zips inside it) |
import.rs: page ids removed from names, links between pages → [[links]], images attached; CSV databases skipped |
| Apple Notes | the Markdown folder made by the Exporter app | import.rs |
| Google Keep | Google Takeout .zip |
import.rs: checklists, labels, photos; the duplicate .html and trashed notes skipped |
| OneNote | the Markdown folder made by OneNote Md Exporter | import.rs |
| Obsidian, Logseq, iA Writer, Typora, Zettlr, Craft, Roam, UpNote, Notesnook | the folder, or its .zip |
import.rs: front matter, ![[embeds]] and relative images attached, links to .md files → [[links]], hidden folders (.obsidian) skipped |
| Joplin | "MD - Markdown + Front Matter" folder | import.rs, with _resources/ images |
| Bear | .bear2bk backup or TextBundle / Markdown export |
import.rs: a TextBundle is one note with its assets/ |
| Standard Notes | decrypted backup .zip |
import.rs |
| Simplenote | export .zip |
import.rs (notes.json; the .txt copies are skipped) |
| Day One | JSON .zip |
ui/import.js: entries with photos and tags |
| Drafts | JSON export | import.rs |
| Zoho Notebook, Evernote HTML, any HTML | .html / .zip |
ui/import.js: HTML → Markdown, data: images attached |
How it works:
ui/import.jslists the picked files and unpacks zips with the browser'sDecompressionStream. It reads the central directory, then one file at a time.- It converts
.enex,.htmland Day One into Markdown. XML and HTML are parsed withDOMParser, which builds an inert document: no scripts, no network, no external entities. Nodes are only read, never inserted into the page. - The text files go to
import_filesin batches of at most 4 MB.crates/core/src/import.rsmakes the notes and returns, per note, the files of the export it links to. - The page sends each linked file once with
import_attachment. It becomes an attachment, metadata removed like any other, and the note's links are pointed at it.
Limits:
- 50,000 files in a zip, 64 MB per file, 1 GB unpacked in total.
- A file that unpacks to more than its zip claims is stopped and skipped (a zip bomb).
- ZIP64 archives get a message to unzip first.
..and hidden paths are skipped. Paths are only labels: nothing is ever written to them.- 4 MB per note or attachment.
Sync and older versions
All of this syncs like notes. Saved versions and attachments are new object types: 0.1.0-alpha.1 reports them as rejected files and skips them, and if it edits a note it drops that note's new flags. Update every device. See Sync for how a change on one device (a pin, a move, the trash) and a different change on another are now both kept.