# npm
npm install textlint-plugin-mdx
# Yarn
yarn add textlint-plugin-mdx
# pnpm
pnpm add textlint-plugin-mdx
# Bun
bun add textlint-plugin-mdx
Caution
If you have enabled the .mdx
extension in @textlint/textlint-plugin-markdown, please remove it.
{
"plugins": {
"mdx": true
}
}
extensions
:string[]
- Additional file extensions for MDX
Example of how to use textlint-filter-rule-comments is shown below. There is no need to use syntax such as {/* <!-- textlint-disable --> */}
.
This is error text.
{/* textlint-disable */}
This is ignored text by rule.
Disables all rules between comments
{/* textlint-enable */}
This is error text.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D