textlint-rule-ja-space-around-strong
v3.0.2
Published
強い強調の周りをスペースで囲むかどうかを決めるtextlintルール
Readme
textlint-rule-ja-space-around-strong 
強い強調の周りをスペースで囲むかどうかを決めるtextlintルール
強い強調とはTxtASTのStrong nodeのことです。
このルールでは、強い強調の前後が日本語である場合に半角スペースを入れるかを決定します。 オプションでスペースの有無を決定できます。
**strong** と日本語の間はスペースを空ける
**strong**と日本語の間はスペースを空けないInstall
Install with npm:
npm install textlint-rule-ja-space-around-strongUsage
Via .textlintrc(Recommended)
{
"rules": {
"ja-space-around-strong": true
}
}Via CLI
textlint --rule ja-space-around-strong README.mdOptions
before:boolean- デフォルト:
false trueなら、Strongの前に半角スペースを入れる
- デフォルト:
after:boolean- デフォルト:
false trueなら、Strongの後に半角スペースを入れる
- デフォルト:
デフォルト値は次のようになります。
{
"rules": {
"ja-space-around-strong": {
"before": false,
"after": false
}
}
}Fixable
textlint --fixの自動修正に対応しています。
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test:
npm i -d && npm testContributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
License
MIT © azu
