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 Autofix Since v0.1.0

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

  • trailing-whitespace Autofix Since v0.1.0

    removes spaces and tabs at the end of a line.

  • heading-spacing Autofix Since v0.1.0

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

  • blockquote-space Autofix Since v0.1.0

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

  • list-marker-space Autofix Since v0.1.0

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

  • arrows Autofix Since v0.1.0

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

  • list-marker Autofix Settings Since v0.1.0

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

  • ordered-list-numbers 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 Autofix Settings Since v0.1.0

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

  • link-spacing Autofix Since v0.1.0

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

  • code-span-spacing Autofix Since v0.1.0

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

  • bare-urls 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 Autofix Settings Since v0.1.0

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

  • horizontal-rule Autofix Settings Since v0.1.0

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

  • table-pipes Autofix Since v0.1.0

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

  • tables Autofix Since v0.1.0

    pads every column of a table to one width.

  • heading-style Autofix Since v0.1.0

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

  • block-spacing Autofix Since v0.1.0

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

  • blank-lines Autofix Since v0.1.0

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

  • final-newline 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