ANoteWrite markdown the way you write in Notion, inside VS Code.
ANote opens a Right-click any The
|
| Command | What it does |
|---|---|
| Open as Note | Opens a .md in the block editor |
| New Note | Creates a .note in the chosen folder |
| Open Preview to the Side | The rendered note, in a webview |
| Switch Preview Theme | Editor → light → dark |
| Open Preview in Browser / Copy Preview Link | The note as a page on a loopback port |
| Open Studio in Browser / Copy Studio Link | The folder's notes, editable in a browser tab |
| Export as Markdown | Writes a .note out as .md |
| Open Configuration | Writes anote.config.json with the defaults filled in |
Good to know about .md
Underline, toggle lists, tabs, colours and image resizing are removed from the
menus over a .md rather than offered and then lost on save. Drawings, video and
audio survive — they ride in an HTML comment other markdown readers ignore.
Before typing in someone else's markdown: ANote reads a practical subset, and the first keystroke rewrites the file in its own dialect — hard-wrapped paragraphs come back as one line, reference links are flattened. If a file's round trip is not the same file, ANote says so once, before anything is written. Nothing touches disk until you save.
Configuration
One optional anote.config.json per workspace folder. Every key is optional, and
a bad value falls back to the default with a warning.
{
"notesDir": ".", // where New Note writes, and what the MCP server reads
"newNote": { "defaultName": "Untitled" },
"assets": {
"dir": "anote.assets", // the one folder every note's files go in, under notesDir
"dirSuffix": ".assets", // legacy: the <note>.note.assets folders, still read
},
"preview": {
"theme": "auto", // auto | light | dark
"pollMs": 2000, // how often a browser tab asks if the note changed
"port": 0, // 0 lets the OS pick; a number is a bookmarkable URL
},
"studio": { "enabled": true },
"mcp": { "enabled": true },
}
The browser preview and the studio share one HTTP server bound to loopback only,
with origin-checked reads and token-guarded, version-checked writes. Set
studio.enabled to false and the writable half is never mounted. Details in
docs/design.md.
Development
Requires VS Code 1.101 or later; everything else is bundled.
bun install
bun run build # then F5, which opens sample/ as the workspace
bun run test
sample/ is a guided demo: start at Welcome.note, then the Tour/ notes. For
the design rationale — file format, previews, studio, host↔webview bridge — see
docs/design.md.
License
MIT