Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 582 Bytes

md019.md

File metadata and controls

28 lines (18 loc) · 582 Bytes

MD019 - Multiple spaces after hash on atx style heading

Tags: atx, headers, headings, spaces

Aliases: no-multiple-space-atx

Fixable: Some violations can be fixed by tooling

This rule is triggered when more than one space is used to separate the heading text from the hash characters in an atx style heading:

#  Heading 1

##  Heading 2

To fix this, separate the heading text from the hash character by a single space:

# Heading 1

## Heading 2

Rationale: Extra space has no purpose and does not affect the rendering of content.