@mdx-js/typescript-plugin

0.0.1 • Public • Published

@mdx-js/typescript-plugin

Build Coverage Downloads Size Sponsors Backers Chat

A TypeScript plugin to support language features in MDX files.

Contents

What is this?

This package provides a TypeScript plugin for MDX. This TypeScript plugin provides editor features such as completion and diagnostics in TypeScript based editors.

When should I use this?

The MDX extension for Visual Studio Code registers this plugin by default. Other editors may install this in their own integration. You can also choose to install the plugin in your project locally in order to pin a version.

Install

In Node.js (version 16+), install with npm:

npm install @mdx-js/language-service

Use

The MDX extension for Visual Studio Code registers this plugin by default. Other editors may install this in their own integration.

If you wish to add this plugin manually, add the following to your tsconfig.json file:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@mdx-js/typescript-plugin"
      }
    ]
  }
}

TypeScript

For further instruction, see the TypeScript section of the repository readme.

Plugins

For information on plugin support, see the Plugins section of the repository readme.

API

This package exports a TypeScript plugin. This is not intended for programmatic use.

Compatibility

Projects maintained by the unified collective are compatible with all maintained versions of Node.js. As of now, that is Node.js and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed.

Security

This package provides editor support for MDX files. Some editor features modify your source code, for example suggestions and automatic refactors. It is recommended to keep your source code under version control.

Contribute

See § Contribute on our website for ways to get started. See § Support for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

Sponsor

See § Sponsor on our site for how to help financially.

Vercel

Motif

HashiCorp

GitBook

Gatsby

Netlify

Coinbase

ThemeIsle

Expo

Boost Note

Markdown Space

Holloway


You?

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © Remco Haszing

Package Sidebar

Install

npm i @mdx-js/typescript-plugin

Homepage

mdxjs.com

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

11.5 kB

Total Files

4

Last publish

Collaborators

  • remcohaszing
  • johno
  • timneutkens
  • wooorm