code-block-style

New Since v0.1.0

Linter: a code block is fenced, so it can name its language, not indented.

Example#

doc.md:

Run:

    make build

markright check reports:

doc.md:3: indented code block; fence it instead (code-block-style)
markright: 1 issue(s)

Fixed:

Run:

```bash
make build
```

Turning it off#

linters:
  disable: [code-block-style]
[linters]
disable = ["code-block-style"]

More in Rules.

Settings

Appearance

ThemeColours of every page

Reading

Code blocksLines longer than the block
TablesCells wider than the page

Accessibility

Text sizeEvery page, in proportion
LinksLinks inside the text
MotionAnimations and smooth scrolling
ScrollbarsCode blocks, tables and other scrolling areas