md-image-path-lsp
A Language Server that completes Markdown image paths against the real files in your workspace
A Language Server that completes relative paths to image files in your workspace inside Markdown  syntax, plus a Zed extension and a VS Code extension that use it.
Two path resolution modes
Works naturally both in frameworks that serve public/ as static assets (Next.js, Vite, etc.) and in plain Markdown editing with no framework at all.
Framework environment with a public/ directory (Next.js / Vite, etc.) |
|---|
|
Treats
|
Plain Markdown editing with no public/ directory |
|
Completes paths relative to the file being edited (e.g.
|
Structure
.
├── server/ The Language Server itself (npm: md-image-path-lsp)
├── clients/zed/ Zed extension (fetches server/ from npm automatically)
└── clients/vscode/ VS Code extension (bundles server/ as a dependency)server/ is editor-agnostic and can be used from any LSP client via npx md-image-path-lsp --stdio, not just Zed and VS Code. See each directory's README for details.
- server/README.md — how to use the Language Server itself
- clients/zed/README.md — setting up the Zed extension
- clients/vscode/README.md — setting up the VS Code extension
Editor support
| Editor | Status |
|---|---|
| Zed | Published in the Zed extension registry |
| Neovim / Helix / Emacs (eglot), etc. | Works with any generic LSP client config that invokes npx md-image-path-lsp --stdio directly |
| VS Code | Published on the Marketplace |
Released under the MIT License

