Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/byzyk/markdownlint-rule-emphasis-style


https://github.com/byzyk/markdownlint-rule-emphasis-style

Last synced: about 1 month ago
JSON representation

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