horizontal-rule

New Autofix Settings Since v0.1.0

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

Example#

doc.md:

Before.

* * *

After.

markright check reports:

doc.md:3: horizontal rule written differently from the configured style (horizontal-rule)
markright: 1 issue(s)

markright fmt rewrites it to:

Before.

---

After.

Settings#

Under formatters.settings.horizontal-rule:

KeyMeaningDefault
styleHow a horizontal rule is written---

With the defaults, in .markright.yaml:

formatters:
  settings:
    horizontal-rule:
      style: "---"

or in .markright.toml:

[formatters.settings.horizontal-rule]
style = "---"

Turning it off#

formatters:
  disable: [horizontal-rule]
[formatters]
disable = ["horizontal-rule"]

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