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.