emphasis-marker

New Autofix Settings Since v0.1.0

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

Example#

doc.md:

Run it _once_, then __never again__.

markright check reports:

doc.md:1: emphasis written differently from the configured character (emphasis-marker)
markright: 1 issue(s)

markright fmt rewrites it to:

Run it *once*, then **never again**.

Settings#

Under formatters.settings.emphasis-marker:

KeyMeaningDefault
markerThe character of emphasis and strong emphasis*

With the defaults, in .markright.yaml:

formatters:
  settings:
    emphasis-marker:
      marker: "*"

or in .markright.toml:

[formatters.settings.emphasis-marker]
marker = "*"

Turning it off#

formatters:
  disable: [emphasis-marker]
[formatters]
disable = ["emphasis-marker"]

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