Horizontal Rule
Create horizontal rules using ---
Horizontal Rule Syntax
Horizontal rules are used to create visual separators in documents, making content clearer and more readable.
Basic Syntax
Use three or more hyphens (---), asterisks (***), or underscores (___) to create horizontal rules.
---
***
___
All three syntaxes above create horizontal rules that look the same, as shown below ⬇️
Best Practices for Horizontal Rules
For compatibility reasons, add blank lines before and after horizontal rules.
| ✅ Do this | ❌ Don't do this |
|---|---|
Try to put a blank line before...--- | Try to put a blank line before...--- |