Permits linking to a lowercase instance of a parameter that should otherwise appear in caps in a normal sentence.
Example:
# 👍
We always want to capitalize ID in a sentence.
# 👍
We also want to be able to link to a literal [id](#id) param.
# ❌
But we shouldn’t ever write id in normal text.
Install with npm:
npm install textlint-rule-linkable-params
Via .textlintrc
(Recommended)
{
"rules": {
"linkable-params": true
}
}
Via CLI
textlint --rule linkable-params README.md
Builds source codes for publish to the lib
folder.
You can write ES2015+ source codes in src/
folder.
npm run build
Run test code in test
folder.
Test textlint rule by textlint-tester.
npm test
ISC ©