final-newline

New Autofix Since v0.1.0

Formatter: ends the file with exactly one newline.

Example#

doc.md:

The last line, without a newline

markright check reports:

doc.md:1: the file does not end with exactly one newline (final-newline)
markright: 1 issue(s)

markright fmt rewrites it to:

The last line, without a newline

Turning it off#

formatters:
  disable: [final-newline]
[formatters]
disable = ["final-newline"]

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