https://github.com/aborazmeh/textlint-rule-no-bold-paragraph
https://github.com/aborazmeh/textlint-rule-no-bold-paragraph
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aborazmeh/textlint-rule-no-bold-paragraph
- Owner: aborazmeh
- License: mit
- Created: 2024-07-09T02:37:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T02:37:39.000Z (10 months ago)
- Last Synced: 2025-01-23T14:51:14.369Z (3 months ago)
- Language: TypeScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# textlint-rule-no-bold-paragraph [](https://github.com/aborazmeh/textlint-rule-no-bold-paragraph/actions?query=workflow%3A"test") [](https://textlint.github.io/)
Sometimes fully-bolded paragraphs used as headers, this rule finds these paragraphs.
## Install
Install with [npm](https://www.npmjs.com/):
npm install textlint-rule-no-bold-paragraph
## Example
# Book
**First Chapter**
Content of the first chapter
__Second Chapter__
Content of the first chapter
## Third Chapter## Usage
Via `.textlintrc.json`(Recommended)
```json
{
"rules": {
"no-bold-paragraph": true
}
}
```Via CLI
```
textlint --rule no-bold-paragraph README.md
```### Build
Builds source codes for publish to the `lib` folder.
You can write ES2015+ source codes in `src/` folder.npm run build
### Tests
Run test code in `test` folder.
Test textlint rule by [textlint-tester](https://github.com/textlint/textlint-tester).npm test
## License
MIT © aborazmeh