
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
remark-lint-spaces-around-number
Advanced tools
remark lint plugin that checks if there are spaces between number and Chinese
According to chinese-document-style-guide, one way of organize number and Chinese is to have space in between. This lint will warn when space is missing in such cases.
valid.md
In
理财产品的收益是 4.0% 左右。
Out
No messages.
invalid.md
In
理财产品的收益是 4.0%左右。
Out
input.md:1:10-1:13: Should have space after "4.0%"
npm install remark-lint-spaces-around-number
You probably want to use it on the CLI through a config file:
...
"remarkConfig": {
"plugins": [
...
"remark-lint",
+ "remark-lint-spaces-around-number",
...
]
}
...
Or use it on the CLI directly
remark -u remark-lint -u remark-lint-spaces-around-number readme.md
Or use this on the API:
var remark = require('remark');
var report = require('vfile-reporter');
remark()
.use(require('remark-lint'))
+ .use(require('remark-lint-spaces-around-number'))
.process('_Emphasis_ and **importance**', function (err, file) {
console.error(report(err || file));
});
FAQs
remark lint plugin that checks if there are spaces between number and Chinese
The npm package remark-lint-spaces-around-number receives a total of 13,940 weekly downloads. As such, remark-lint-spaces-around-number popularity was classified as popular.
We found that remark-lint-spaces-around-number demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.