This content originally appeared on HackerNoon and was authored by Typesetting
Horizontal Rules
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:
Horizontal Rule Best Practices
For compatibility, put blank lines before and after horizontal rules.
\
| ✅ Do this | ❌ Don't do this |
|----|----|
| Try to put a blank line before...
\n \n ---
\n \n ...and after a horizontal rule.
| Without blank lines, this would be a heading.
\n ---
\n Don't do this!
|
\
:::info This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license.
:::
\
This content originally appeared on HackerNoon and was authored by Typesetting

Typesetting | Sciencx (2024-08-20T15:49:41+00:00) The Dead Simple Markdown Guide to Horizontal Rules. Retrieved from https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-horizontal-rules/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.