Formatters
markright fmt applies every enabled formatter, in this order, and markright check reports what each would change. Every formatter fixes what it finds.
20 of 20
hard-tabsNew Autofix Since v0.1.0turns tabs outside code into spaces, up to the next multiple of four columns.
trailing-whitespaceNew Autofix Since v0.1.0removes spaces and tabs at the end of a line.
heading-spacingNew Autofix Since v0.1.0writes a heading as its
#, one space and its text, without indentation or closing#.blockquote-spaceNew Autofix Since v0.1.0puts a space between the
>of a blockquote and its text.list-marker-spaceNew Autofix Since v0.1.0leaves one space between the marker and the text of a list item.
arrowsNew Autofix Since v0.1.0->,<-and<->become→,←and↔, with a space on each side.list-markerNew Autofix Settings Since v0.1.0marks the items of an unordered list with
-, or the marker its settings choose.ordered-list-numbersNew Autofix Settings Since v0.1.0numbers the items of an ordered list one after the other, or alike when its settings say so.
emphasis-markerNew Autofix Settings Since v0.1.0writes emphasis and strong emphasis with
*, or the character its settings choose.link-spacingNew Autofix Since v0.1.0removes the spaces just inside the brackets of a link's text.
code-span-spacingNew Autofix Since v0.1.0removes the space just inside each backtick of a code span, which renders as nothing.
bare-urlsNew Autofix Since v0.1.0puts a URL written as plain text in angle brackets, which makes it a link in any renderer.
fence-markerNew Autofix Settings Since v0.1.0writes the fences of code blocks with backticks, or the character its settings choose.
horizontal-ruleNew Autofix Settings Since v0.1.0writes a horizontal rule as
---, or the style its settings choose.table-pipesNew Autofix Since v0.1.0starts and ends every row of a table with a pipe.
tablesNew Autofix Since v0.1.0pads every column of a table to one width.
heading-styleNew Autofix Since v0.1.0writes a heading underlined with
===or---with#instead, on one line.block-spacingNew Autofix Since v0.1.0puts a blank line before and after every heading, list, fenced code block and table.
blank-linesNew Autofix Since v0.1.0leaves at most one blank line in a row outside code.
final-newlineNew Autofix Since v0.1.0ends the file with exactly one newline.