Releases: mdx-js/mdx-analyzer
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
.
v1.0.3
1.0.3
Patch Changes
- #219
46d91dc
Thanks @grahampcharles! - fix: remove superfluousembeddedLanguages
setting
New Contributors
- @grahampcharles made their first contribution in #219
Full Changelog: v1.0.2...v1.0.3
v1.0.2
1.0.2
Patch Changes
- #214
4275105
Thanks @remcohaszing! - chore: update extension metadata content and README
New Contributors
- @remcohaszing made their first contribution in #214
Full Changelog: v1.0.1...v1.0.2