Package Exports
- @mdx-js/language-service
Readme
@mdx-js/language-service
What is this?
This package implements the logic needed to provide MDX IntelliSense. This is done by wrapping the TypeScript language service.
When should I use this?
This package is intended for use by @mdx-js/monaco and @mdx-js/language-server.
It’s not intended for external usage.
Install
This package is not published yet.
Use
This package is intended for internal use only. If you do want to use this package for something else, please to let us know your use case in a discussion.
API
This package exports the identifier createMdxLanguageService.
There is no default export.
createMdxLanguageService(ts, host[, plugins])
Create a TypeScript language service that can handle MDX.
Parameters
ts: The TypeScript module.host: The TypeScript language service host.plugins: A list of remark syntax plugins. Only syntax plugins are supported. Transformers are unused.
Returns
A TypeScript language service that can handle MDX.
Types
This package does not expose TypeScript types, because it’s not intended for external use.
Security
This package provides IntelliSense for MDX files. Some IntelliSense 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.