block-spacing
New Autofix Since v0.1.0
Formatter: puts a blank line before and after every heading, list, fenced code block and table.
Example#
doc.md:
# Install
Run:
```bash
make install
```markright check reports:
doc.md:1: heading, list, code block or table without a blank line around it (block-spacing)
doc.md:3: heading, list, code block or table without a blank line around it (block-spacing)
markright: 2 issue(s)markright fmt rewrites it to:
# Install
Run:
```bash
make install
```Turning it off#
formatters:
disable: [block-spacing][formatters]
disable = ["block-spacing"]More in Rules.