Inline mdsmith diagnostics and quick fixes for Markdown.
The extension spawns mdsmith lsp over stdio. It surfaces
lint diagnostics as inline squiggles. Each fixable rule
contributes a quick fix. A source.fixAll.mdsmith action
runs mdsmith fix on the whole buffer.
-
VS Code 1.85 or later.
-
The
mdsmithbinary — the extension bundles pre-built binaries for all platforms (Linux, macOS, Windows) from npm. The build step copies platform binaries from the@mdsmith/*npm packages intodist/bin/, so they ship in the .vsix and work on all platforms from a single install. No separate binary install is required in most cases.If the bundled binary is unavailable or you prefer a custom build, you can install
mdsmithmanually:npm install -g @mdsmith/cligo install github.com/jeduden/mdsmith/cmd/mdsmith@latest- Download from the releases page
- Then configure
mdsmith.pathto point to the binary.
code --install-extension mdsmith-<version>.vsix| Setting | Default | Purpose |
|---|---|---|
mdsmith.path |
"mdsmith" |
Binary path; defaults to bundled binary in dist/bin/. Falls back to PATH resolution if bundled binary unavailable. Set absolute path if needed (e.g. /go/bin/mdsmith) |
mdsmith.config |
"" |
Override -c config path |
mdsmith.run |
"onSave" |
When to lint: onType, onSave, or off |
mdsmith.fixOnSave |
false |
Wires source.fixAll.mdsmith on save |
mdsmith.trace.server |
"off" |
LSP trace verbosity |
See the full guide for prerequisites, code actions, troubleshooting, and the performance benchmark.
The extension uses Bun for both bundling and tests:
bun install
bun test
bun run build.ts # one-shot bundle to dist/
bun run build.ts --watch # rebuild on changebunx --bun @vscode/vsce package produces the .vsix.
MIT.