
marksman-lsp
Markdown language server for Claude Code. Provides go-to-definition, find references, completion, and diagnostics for markdown files with wiki-link support.
Install
/plugin install marksman-lsp@kzmshxRun it inside Claude Code after adding the marketplace with /plugin marketplace add kzmshx/claude-plugins.
Contents
Discovered from sourceAgents 1
marksman-lsp
Markdown language server plugin for Claude Code.
Overview
marksman-lsp integrates marksman with Claude Code, providing intelligent markdown editing capabilities:
- Go-to-definition for links
- Find references for headings and links
- Completion for inline, reference, and wiki-style links
- Hover preview for links
- Diagnostics for broken wiki-links
- Document and workspace symbol navigation
- Rename refactoring for documents and headings
Supported File Extensions
.md(Markdown)
Supported Link Formats
- Inline links:
[text](/path.md#heading) - Reference-style links:
[ref]: /url "Title" - Wiki-style links:
[[another-note]],[[#heading]]
Installation
1. Install marksman
macOS
brew install marksman
Linux (snap)
snap install marksman
Linux (binary)
Download from GitHub Releases.
Windows
scoop install marksman
Or download from GitHub Releases.
2. Verify installation
marksman --version
3. Install the plugin
Add the marketplace (if not already added):
/plugin marketplace add kzmshx/claude-plugins
Install the plugin:
/plugin install marksman-lsp@kzmshx
LSP Capabilities
| Feature | Description |
|---|---|
goToDefinition | Navigate to link targets |
findReferences | Find all references to headings or links |
hover | Preview link content |
completion | Auto-complete links |
rename | Rename documents or headings with reference updates |
diagnostics | Detect broken wiki-links |
documentSymbol | List all headings in current file |
workspaceSymbol | Search headings across workspace |
codeLens | Show reference counts on headings |
codeActions | Auto-generate table of contents |
Use Cases
- Managing
CLAUDE.mdand documentation files - Zettelkasten-style note-taking
- Wiki-style knowledge bases
- Cross-referencing between markdown documents
Configuration
marksman uses .marksman.toml for project-specific configuration. See marksman documentation for details.
More Information
License
MIT
Sponsors
Details
- Marketplace
- kzmshx/claude-plugins
- Source
- plugins/marksman-lsp
- Category
- Community