trailing-whitespace

New Autofix Since v0.1.0

Formatter: removes spaces and tabs at the end of a line.

Example#

doc.md:

A line that ends in spaces.   
The next line.

markright check reports:

doc.md:1: trailing whitespace (trailing-whitespace)
markright: 1 issue(s)

markright fmt rewrites it to:

A line that ends in spaces.
The next line.

Turning it off#

formatters:
  disable: [trailing-whitespace]
[formatters]
disable = ["trailing-whitespace"]

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