Create horizontal rules in Markdown using three or more asterisks (***), dashes (---), or underscores (___). Ensure blank lines are placed before and after the rule for compatibility.
To create a horizontal rule, use three or more asterisks (***
), dashes (---
), or underscores (___
) on a line by themselves.
***
---
_________________
The rendered output of all three looks identical:
For compatibility, put blank lines before and after horizontal rules.
✅ Do this |
❌ Don't do this |
---|---|
|
|
This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license.