Marker character style

Key Point

💡 Horizontal rules can be used to separate sections when headers are not applicable or to separate base document elements like a header, body and footer.

A horizontal rule must consist of three (3) hyphens (-) without spaces.

remark-lint: rule-style

👍 Correct code for this rule:

---

👎 Incorrect code for this rule:

-
--

- -
-- -

- --

No prepended or appended content

Make sure that there are no other prepended or appended characters (including whitespaces).

👍 Correct code for this rule:

---

👎 Incorrect code for this rule:

.---
 ---
---x
---

Empty lines before and after

Always surround lines by a single empty line except at the beginning of the file.

👍 Correct code for this rule:

... snowflakes are falling.

---

Sparkling and frozen...

👎 Incorrect code for this rule:

... snowflakes are falling.
---
Sparkling and frozen...
... snowflakes are falling.


---


Sparkling and frozen...
Last Updated: 6/20/2019, 7:57:47 AM