textlint plugin to lint MDX
npm install textlint-plugin-mdx



``shnpm
npm install textlint-plugin-mdx
Usage
> [!CAUTION]
> If you have enabled the
.mdx extension in @textlint/textlint-plugin-markdown, please remove it.`json
{
"plugins": {
"mdx": true
}
}
`Options
-
extensions: string[]
- Additional file extensions for MDXExamples
$3
Example of how to use textlint-filter-rule-comments is shown below. There is no need to use syntax such as
{/ /}.`mdx
This is error text.{/ textlint-disable /}
This is ignored text by rule.
Disables all rules between comments
{/ textlint-enable /}
This is error text.
`Contributing
1. Fork it!
2. Create your feature branch:
git checkout -b my-new-feature
3. Commit your changes: git commit -am 'Add some feature'
4. Push to the branch: git push origin my-new-feature`- @3w36zj6