{"library":"remark-lint-spaces-around-number","title":"remark-lint-spaces-around-number","description":"A remark-lint plugin (v0.1.2) enforcing spacing between numbers and Chinese characters per the Chinese Document Style Guide. It warns when a number (including percentages) is directly adjacent to Chinese text without a space. Designed for use with remark-lint, it integrates into remark CLI, config files, or API. Differs from general lint rules by targeting CJK typographic conventions; actively maintained with irregular release cadence.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-spaces-around-number"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintSpacesAroundNumber from 'remark-lint-spaces-around-number'","import remark from 'remark'","import remarkLint from 'remark-lint'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remark from 'remark';\nimport remarkLint from 'remark-lint';\nimport remarkLintSpacesAroundNumber from 'remark-lint-spaces-around-number';\nimport report from 'vfile-reporter';\n\nremark()\n  .use(remarkLint)\n  .use(remarkLintSpacesAroundNumber)\n  .process('理财产品的收益是 4.0%左右。', (err, file) => {\n    console.error(report(err || file));\n  });\n// Output: 1:10-1:13 warning Should have space after \"4.0%\"","lang":"typescript","description":"Shows usage with remark API: process markdown and catch missing space between number and Chinese.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}