Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byzyk/markdownlint-rule-emphasis-style
https://github.com/byzyk/markdownlint-rule-emphasis-style
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/byzyk/markdownlint-rule-emphasis-style
- Owner: byzyk
- License: mit
- Created: 2018-10-24T07:02:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T10:38:12.000Z (about 6 years ago)
- Last Synced: 2024-11-14T10:49:15.123Z (2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# markdownlint-rule-emphasis-style
> [`markdownlint`](https://github.com/DavidAnson/markdownlint) rule that forces consistency of emphasis style (**bold** or _italic_).
## Install
```sh
npm install --save-dev markdownlint-rule-emphasis-style
```## Usage
```json
{
"emphasis-style": { "style": "consistent" }
}
```### Options
**style** string
- `"consistent"` - first matched style will be forced by default. Default option.
- `"*"` - force `**bold**` and `*italic*` style.
- `"_"` - force `__bold__` and `_italic_` style.## License
MIT