MDX extension for Visual Studio Code
MIT License
Bot releases are hidden (Show)
Published by remcohaszing 11 months ago
8a8dc1b
Thanks @remcohaszing! - Enable the language server by default.
The setting mdx.experimentalLanguageServer
was renamed to mdx.server.enable
.
#344 d48c926
Thanks @remcohaszing! - Update to MDX 3
#340 045458d
Thanks @remcohaszing! - The language server and Visual Studio Code extension are now based on Volar.
#345 e02ea4f
Thanks @remcohaszing! - Support drag and dropping text and images into the editor.
#348 6a5ef78
Thanks @remcohaszing! - Syntax highlight MDX code blocks in markdown files.
c2c67b8
Thanks @remcohaszing! - Define the configuration options mdx.trace.server.verbosity
and mdx.trace.server.format
.88d4db4
Thanks @remcohaszing! - Add MDX file icons2630215
Thanks @remcohaszing! - Update MDX grammarPublished by wooorm over 1 year ago
vscode-mdx
language-server
/ language-service
e66b3a9
patch: fix missing TypeScript as direct dep, also update to TS 51585698
patch: fix to show JS completion only in JS, not markdownPublished by remcohaszing over 1 year ago
#272 4aad7ef
Thanks @remcohaszing! - Support remark syntax plugins.
This extension supports remark syntax plugins.
Plugins can be defined in an array of strings or string / options tuples.
These plugins can be defined in tsconfig.json
and will be resolved relative to
that file.
For example, to support
frontmatter with YAML and TOML
and GFM:
{
"compilerOptions": {
// …
},
"mdx": {
"plugins": [["remark-frontmatter", ["toml", "yaml"]], "remark-gfm"]
}
}
#285 31966db
Thanks @remcohaszing! - Rename the Markdown React
language to MDX
.
#279 2a8b266
Thanks @remcohaszing! - Fix a crash of neither allowJs
not checkJs
is true in tsconfig.json
.
#281 b0bc3a1
Thanks @remcohaszing! - Fix a crash that occurs if:
tsconfig.json
exists.tsconfig.json
specifies includes
, but doesn’t include the MDX file.tsconfig.json
specifies excludes
and excludes the MDX file.#273 ed9382e
Thanks @remcohaszing! - Previously the MDX language server handled TypeScript IntelliSense for
JavaScript and TypeScript files as well.
This led to duplicate IntelliSense results in the editor if people have also
enabled TypeScript IntelliSense.
These files are still synchronized with the MDX language server, because they
are needed for context, but they no longer yield results when interacted with.
Published by remcohaszing almost 2 years ago
#226 0fdf371
Thanks @remcohaszing! - Add experimental IntelliSense
To enable IntelliSense, set mdx.experimentalLanguageServer
to true
in your
VSCode settings.
You can verify it’s enabled by interacting with the JavaScript parts on an MDX
document, for example by hovering an import or variable
#222 d2eb7a7
Thanks @KeyboardSounds! - Support for highlighting JSX evaluated expressions
In JSX, you can include JS expressions within tags, like:
<Component>{doSomething('a', 7)}</Component>
This PR adds syntax highlighting for those expressions by adding a new pattern
in the tmLanguage.json
.
Published by JounQin about 2 years ago
46d91dc
Thanks @grahampcharles! - fix: remove superfluous embeddedLanguages
settingFull Changelog: https://github.com/mdx-js/vscode-mdx/compare/v1.0.2...v1.0.3
Published by JounQin about 2 years ago
4275105
Thanks @remcohaszing! - chore: update extension metadata content and READMEFull Changelog: https://github.com/mdx-js/vscode-mdx/compare/v1.0.1...v1.0.2