Formatters

markright fmt applies every enabled formatter, in this order, and markright check reports what each would change. Every formatter fixes what it finds.

Filters

20 of 20

  • hard-tabs New Autofix Since v0.1.0

    turns tabs outside code into spaces, up to the next multiple of four columns.

  • trailing-whitespace New Autofix Since v0.1.0

    removes spaces and tabs at the end of a line.

  • heading-spacing New Autofix Since v0.1.0

    writes a heading as its #, one space and its text, without indentation or closing #.

  • blockquote-space New Autofix Since v0.1.0

    puts a space between the > of a blockquote and its text.

  • list-marker-space New Autofix Since v0.1.0

    leaves one space between the marker and the text of a list item.

  • arrows New Autofix Since v0.1.0

    ->, <- and <-> become →, ← and ↔, with a space on each side.

  • list-marker New Autofix Settings Since v0.1.0

    marks the items of an unordered list with -, or the marker its settings choose.

  • ordered-list-numbers New Autofix Settings Since v0.1.0

    numbers the items of an ordered list one after the other, or alike when its settings say so.

  • emphasis-marker New Autofix Settings Since v0.1.0

    writes emphasis and strong emphasis with *, or the character its settings choose.

  • link-spacing New Autofix Since v0.1.0

    removes the spaces just inside the brackets of a link's text.

  • code-span-spacing New Autofix Since v0.1.0

    removes the space just inside each backtick of a code span, which renders as nothing.

  • bare-urls New Autofix Since v0.1.0

    puts a URL written as plain text in angle brackets, which makes it a link in any renderer.

  • fence-marker New Autofix Settings Since v0.1.0

    writes the fences of code blocks with backticks, or the character its settings choose.

  • horizontal-rule New Autofix Settings Since v0.1.0

    writes a horizontal rule as ---, or the style its settings choose.

  • table-pipes New Autofix Since v0.1.0

    starts and ends every row of a table with a pipe.

  • tables New Autofix Since v0.1.0

    pads every column of a table to one width.

  • heading-style New Autofix Since v0.1.0

    writes a heading underlined with === or --- with # instead, on one line.

  • block-spacing New Autofix Since v0.1.0

    puts a blank line before and after every heading, list, fenced code block and table.

  • blank-lines New Autofix Since v0.1.0

    leaves at most one blank line in a row outside code.

  • final-newline New Autofix Since v0.1.0

    ends the file with exactly one newline.

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