A remark-lint plugin that checks for missing spaces between English words and Chinese characters in Markdown files, following the chinese-document-style-guide. Version 0.1.2 is the latest and stable release, with no active development indicated. It is a niche tool specifically for bilingual (Chinese-English) document formatting, differentiating from general remark-lint rules by targeting a specific typographic convention. The plugin has low release cadence and is best used with remark-lint.
npm install remark-lint-spaces-around-wordNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to programmatically use remark-lint-spaces-around-word to lint a Markdown file, showing the process of reading a file, running the plugin, and outputting lint messages.
Ensure the English word has Chinese characters on both sides; otherwise the rule may not trigger.
Manually review warnings; consider additional processing for punctuation.
Run 'npm install remark-lint-spaces-around-word' in your project.
Use default import: import remarkLintSpacesAroundWord from 'remark-lint-spaces-around-word'