Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Obsidian Style LinksNew to Visual Studio Code? Get it now.
Obsidian Style Links

Obsidian Style Links

Igor Sirotin

| (0) | Free
Cmd/Ctrl+click Obsidian-style links in Markdown — [[wikilinks]] and short [text](note) links — to open the right file, resolved the way Obsidian does.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Obsidian Style Links for VS Code

Cmd+Click (Ctrl+Click on Windows/Linux) Obsidian-style links in Markdown to open the right file — resolved exactly the way Obsidian does, so notes written in Obsidian (or published with Quartz, Obsidian Publish, etc.) are navigable in VS Code.

- [ ] [Status: Logos Delivery Integration](https://github.com/igor-sirotin/vscode-obsidian-links/blob/HEAD/2026-status-logos-delivery-integration)
- [ ] [Messaging API — General Availability](https://github.com/igor-sirotin/vscode-obsidian-links/blob/HEAD/2026-messaging-api-ga.md)

See [[Some Note]], [[Some Note#A Heading|alias]], [[Some Note#^block-id]] and ![[diagram.png]].

VS Code on its own can't follow 2026-status-logos-delivery-integration above: the file has no .md extension in the link and lives in a milestones/ sub-folder, not next to the note. Obsidian finds it anyway — and now so does VS Code.

Features

  • Short Markdown links — [text](https://github.com/igor-sirotin/vscode-obsidian-links/blob/HEAD/note) / [text](https://github.com/igor-sirotin/vscode-obsidian-links/blob/HEAD/note.md) where the target is not next to the current file.
  • Wikilinks — [[note]], [[folder/note]], [[note|alias]], embeds ![[image.png]].
  • Headings and blocks — [[note#Heading]], [[note#Parent#Child]], [[#Heading in this note]], [[note#^block-id]], and [text](https://github.com/igor-sirotin/vscode-obsidian-links/blob/HEAD/note#heading-slug); the target opens scrolled to that line.
  • Obsidian's resolution rules:
    1. relative to the current note's folder,
    2. relative to the vault root (the nearest folder containing .obsidian/, otherwise the workspace folder),
    3. anywhere in the vault by file name / path suffix ("shortest path when possible"), case-insensitive. When several files match, the one closest to the current note wins,
    4. as a last resort (a bit more forgiving than Obsidian), by file name alone when exactly one file has that name — so links with a stale folder path still work after notes were moved.
  • .md is implied when a link has no extension; attachments (.png, .pdf, .canvas, …) open in the matching VS Code editor.
  • Missing notes — following a link to a note that doesn't exist offers to create it, in the location configured in .obsidian/app.json (vault root, current folder, or a fixed folder), just like Obsidian.
  • Hover tooltips show where a link goes.
  • Links inside code spans and fenced code blocks are ignored; external URLs and ordinary relative links that already work are left to VS Code's built-in Markdown support.
  • Works in multi-root workspaces and uses only VS Code file-system APIs, so it also runs in remote (SSH / WSL / Dev Containers) workspaces. The file index is kept up to date as files are created, renamed, or deleted.

Settings

Setting Default Description
obsidianLinks.createMissingNotes true Offer to create a note when following a link to a file that doesn't exist. When false, unresolved links are not underlined.

Development

npm install
npm run test:unit          # fast, pure resolver tests
npm run test:integration   # runs the extension inside a real VS Code (needs a display; use xvfb-run on Linux)
./scripts/test-integration-docker.sh   # same, inside Docker, for headless machines
npm run package            # builds obsidian-style-links-<version>.vsix

Press F5 in VS Code to launch an Extension Development Host.

Publishing

npx vsce login <publisher>   # needs an Azure DevOps PAT with Marketplace → Manage scope
npx vsce publish
# and/or Open VSX (VSCodium, Cursor, …):
npx ovsx publish obsidian-style-links-<version>.vsix -p <token>

The publisher field in package.json must match your Marketplace publisher ID.

License

MIT

Not affiliated with Obsidian (Dynalist Inc.).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft