Vault Notes
Browse and link-graph the Markdown notes of Obsidian-style Markdown vaults without leaving VS Code. A vault is a plain folder of .md files; nothing else needs to be running.
Not affiliated with, endorsed by or sponsored by Obsidian. "Obsidian" is a trademark of its owner; the name is used only to describe the Markdown format this extension reads.
No telemetry. The extension makes no network calls.
Features
Graph from folder
Pick any folder (command Vault Notes: Graph from Folder… or right-click a folder in the Explorer) and get the graph of every .md under it plus every note they link to.
- Works with no vault configured: the folder itself is the root.
- Links resolve against the vault that contains the folder; if it is not inside a configured vault, against the workspace folder that contains it; otherwise against the folder.
- Notes outside the folder are drawn muted; unresolved links are dashed ghost nodes.
- Depth 1 shows what the folder's notes link to; depth 2 adds one more hop.
- The last folder is remembered. Refresh and file changes apply to it.
Notes
Activity bar view Vault Notes with the folders and notes of the selected vault. .obsidian/, .trash/ and hidden entries are skipped. Notes open as normal Markdown files, so VS Code handles preview, saving and on-disk conflicts.
- Choose Vault: pick one of
vaultNotes.vaults, or add a folder. The choice is remembered.
- New Note: asks for a name and creates
<name>.md containing # <name> in the selected folder, or the vault root.
- Project Note: opens or creates
<vault>/<projectNotesFolder>/<workspace name>.md, creating the folder if needed.
- Refresh.
Graph
Panel view Graph. Nodes are notes; dashed hollow nodes are links to notes that do not exist. Node size follows the number of links.
- Links:
[[note]], [[note|alias]], [[note#section]], ![[note]] and Markdown links to relative .md paths. Names resolve case-insensitively by file name; with several matches the shortest path wins. Links inside code are ignored.
- Local: the current note (the active editor, when it is inside the vault) and its neighbours to depth 1 or 2.
- Global: the whole vault, with a folder filter and a name search. Over 500 nodes nothing is drawn until a folder is chosen.
- Folder: see above.
- Click a node to open the note. Hover highlights neighbours; wheel zooms; drag the background to pan and a node to move it.
- Rebuilds on save and when
.md files change.
Cerebro (optional)
For people who use the cerebro knowledge-vault CLI. Set vaultNotes.cerebro.path and the Cerebro panel view appears. It runs the program directly (no shell) and never polls.
- Add URL:
cerebro add <url> --json, then opens the resulting note.
- Add Text: sends the selected text of the active editor, with a source URL, through a file in
<cerebro vault>/inbox/. With no selection it opens an empty draft to write in.
- Search:
cerebro buscar <query> --json; click a result to open it.
- Pending: lists
cerebro pendientes --json; Aprobar (optional aliases) and Rechazar.
- Reindex:
cerebro reindex.
Disabled in untrusted workspaces.
Settings
| Setting |
Default |
Description |
vaultNotes.vaults |
[] |
Absolute paths of the vaults. If empty, the picker offers Add vault folder…. |
vaultNotes.projectNotesFolder |
Proyectos |
Folder inside the vault for Project Note. |
vaultNotes.cerebro.path |
"" |
Path to the cerebro executable. Empty hides the Cerebro view. |
vaultNotes.cerebro.vault |
"" |
Vault folder of cerebro; passed to it as CEREBRO_VAULT. |
Screenshots
Development
npm ci
npm run build
npm test
npx @vscode/vsce package
License
MIT