The MDX language server and VS Code extension: completion, type checking and highlighting for .mdx files
open sourceMITfree
Editor tooling for MDX from the unified collective: an MDX language server built on the Language Server Protocol and Volar, the language service behind it, and the official MDX extension for Visual Studio Code, which adds syntax highlighting. It gives .mdx files type checking based on TypeScript's types in JSDoc (strict checking with mdx.checkMdx), completion and navigation, and honours remark plugins configured in tsconfig.json. MIT licensed.
Problems it solves
- get autocomplete and type errors while writing .mdx files
- syntax highlighting for MDX docs pages in my editor
- use MDX with a language server in Neovim or another LSP editor
Features
- MDX language server (mdx-language-server)
- type checking for MDX through TypeScript types in JSDoc
- syntax highlighting for MDX in VS Code
- remark plugin support configured in tsconfig.json
- works in any editor that speaks LSP
Alternatives
The same job
These do what MDX Analyzer does.
- Eclipse LemMinX An XML language server for any editor that speaks the Language Server Protocol
- Terraform Language Server HashiCorp's official language server for Terraform, giving any LSP editor completion, diagnostics and navigation
- Lua Language Server A language server for Lua with type checking, completion and diagnostics, written in Lua
- Eclipse JDT Language Server A Java language server that works with any editor speaking the Language Server Protocol
- Pyrefly A fast type checker and language server for Python, written in Rust
