Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MDX (deprecated)New to Visual Studio Code? Get it now.
MDX (deprecated)

MDX (deprecated)

Matija Marohnić

|
636,832 installs
| (3) | Free
Provides syntax highlighting and bracket matching for MDX (JSX in Markdown) files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MDX for Visual Studio Code (deprecated)

Note: This extension has been deprecated in favor of the official MDX extension.


Adds language support for MDX.

Installation

You can install this extension from the Marketplace.

What about .md files?

By default the MDX language is applied only to .mdx files. If MDX files in your project end with .md, you can tell VS Code that by adding the following to your workspace settings:

"files.associations": {
  "*.md": "mdx"
},

Note that once you do that, any settings associated to [markdown] will stop applying to .md files. For example, if you had something like this in your settings:

"[markdown]": {
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 100
},

You probably want to replace it by this:

"[mdx]": {
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 100
},

Auto-close tags

If you want VS Code to automatically close tags while you type, you can install Auto Close Tag and configure it to also include the language mdx:

"auto-close-tag.activationOnLanguage": [
  "xml",
  "php",
  "...",
  "mdx"
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft