Releases: mdx-js/mdx-analyzer
@mdx-js/[email protected]
Minor Changes
-
#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.
Patch Changes
- Updated dependencies [
045458d
,d48c926
,045458d
]:- @mdx-js/[email protected]
[email protected]: Version Packages (#331)
Minor Changes
- #330
88d4db4
Thanks @remcohaszing! - Add MDX file icons
Patch Changes
- #328
2630215
Thanks @remcohaszing! - Update MDX grammar
v1.3.0
vscode-mdx
language-server
/ language-service
e66b3a9
patch: fix missing TypeScript as direct dep, also update to TS 5
(by @remcohaszing in #315)1585698
patch: fix to show JS completion only in JS, not markdown
(by @remcohaszing in #310)
v1.2.5
Changelog
1.2.5
Patch Changes
- #308
991a617
Thanks @remcohaszing! - Add support formdxJsxTextElement
.
v1.2.4
Changelog
1.2.4
Patch Changes
- #306
59798ff
Thanks @remcohaszing! - Trim positions that can’t be mapped to the original MDX source code from diagnostics.
v1.2.3
Changelog
1.2.3
Patch Changes
-
#300
e691483
Thanks @remcohaszing! - Trim positions that can’t be mapped to the original MDX source code. -
#302
c406d37
Thanks @TomasHubelbauer! - Remove backtick auto-completion to prevent doubling up backticks in inline code spans and code blocks
v1.2.2
Patch Changes
-
#290
1cfcf96
Thanks @remcohaszing! - Fix error when requesting folding ranges. -
#294
1f885bc
Thanks @remcohaszing! - Resolve definitions referencing unopened files.
v1.2.1
Changelog
1.2.1
Patch Changes
- #286
eb774d0
Thanks @remcohaszing! - Fix an issue causing false positive diagnostics in non-MDX files.
v1.2.0
Minor Changes
-
#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 intsconfig.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 theMarkdown React
language toMDX
.
Patch Changes
-
#279
2a8b266
Thanks @remcohaszing! - Fix a crash of neitherallowJs
notcheckJs
is true intsconfig.json
. -
#281
b0bc3a1
Thanks @remcohaszing! - Fix a crash that occurs if:- no
tsconfig.json
exists. tsconfig.json
specifiesincludes
, but doesn’t include the MDX file.tsconfig.json
specifiesexcludes
and excludes the MDX file.- a new file is created.
- a file is renamed.
- no
-
#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.
v1.1.0
Minor Changes
-
#226
0fdf371
Thanks @remcohaszing! - Add experimental IntelliSenseTo enable IntelliSense, set
mdx.experimentalLanguageServer
totrue
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 expressionsIn 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 thetmLanguage.json
.