Skip to content

v1.2.0

Compare
Choose a tag to compare
@remcohaszing remcohaszing released this 23 Jan 20:11
· 248 commits to main since this release
6e51685

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 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.

Patch Changes

  • #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:

    • no tsconfig.json exists.
    • tsconfig.json specifies includes, but doesn’t include the MDX file.
    • tsconfig.json specifies excludes and excludes the MDX file.
    • a new file is created.
    • a file is renamed.
  • #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.