A Prettier plugin (v1.5.1, active) that prevents Prettier from inserting spaces between Chinese/Japanese characters and Latin letters/numbers in Markdown documents. Requires Prettier 2.x. Not needed with Prettier 3.x. Provides custom parsers 'markdown-nocjsp' and 'mdx-nocjsp'. Key differentiator: solves the specific issue of unwanted spacing for CJK text, with a quickFix option to revert past damage.
npm install prettier-plugin-md-nocjspVerified import paths — ran on the pinned version, not inferred.
Shows installation, configuration with overrides for .md and .mdx, and formatting via CLI.
Uninstall this plugin when upgrading to Prettier 3.x; it is no longer needed.
Switch to Prettier 3.x and remove this plugin from dependencies.
Add quickFix: true to .prettierrc overrides section for a one-time format.
Use the plugin only for CJK spacing; configure other Prettier options separately.
Ensure the package is installed and Prettier can find it (e.g., install in project root or use --plugins).
Run npm install --save-dev prettier-plugin-md-nocjsp
Install the plugin and ensure it is listed in plugins or auto-discovered
Set quickFix: true in .prettierrc overrides, not as a CLI argument
Downgrade to Prettier 2.x or uninstall this plugin (feature built into 3.x)