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-tabsAutofix Since v0.1.0turns tabs outside code into spaces, up to the next multiple of four columns.
trailing-whitespaceAutofix Since v0.1.0removes spaces and tabs at the end of a line.
heading-spacingAutofix Since v0.1.0writes a heading as its
#, one space and its text, without indentation or closing#.blockquote-spaceAutofix Since v0.1.0puts a space between the
>of a blockquote and its text.list-marker-spaceAutofix Since v0.1.0leaves one space between the marker and the text of a list item.
arrowsAutofix Since v0.1.0->,<-and<->become→,←and↔, with a space on each side.list-markerAutofix Settings Since v0.1.0marks the items of an unordered list with
-, or the marker its settings choose.ordered-list-numbersAutofix Settings Since v0.1.0numbers the items of an ordered list one after the other, or alike when its settings say so.
emphasis-markerAutofix Settings Since v0.1.0writes emphasis and strong emphasis with
*, or the character its settings choose.link-spacingAutofix Since v0.1.0removes the spaces just inside the brackets of a link's text.
code-span-spacingAutofix Since v0.1.0removes the space just inside each backtick of a code span, which renders as nothing.
bare-urlsAutofix Since v0.1.0puts a URL written as plain text in angle brackets, which makes it a link in any renderer.
fence-markerAutofix Settings Since v0.1.0writes the fences of code blocks with backticks, or the character its settings choose.
horizontal-ruleAutofix Settings Since v0.1.0writes a horizontal rule as
---, or the style its settings choose.table-pipesAutofix Since v0.1.0starts and ends every row of a table with a pipe.
tablesAutofix Since v0.1.0pads every column of a table to one width.
heading-styleAutofix Since v0.1.0writes a heading underlined with
===or---with#instead, on one line.block-spacingAutofix Since v0.1.0puts a blank line before and after every heading, list, fenced code block and table.
blank-linesAutofix Since v0.1.0leaves at most one blank line in a row outside code.
final-newlineAutofix Since v0.1.0ends the file with exactly one newline.