Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 1.25 KB

File metadata and controls

60 lines (49 loc) · 1.25 KB
title Horizontal Rules
syntax-id horizontal-rules
syntax-summary ---
description To create a horizontal rule, use three or more asterisks (`***`), dashes (`---`), or underscores (`___`) on a line by themselves.
examples
markdown html
***
<hr>
markdown html
---
<hr>
markdown html
_________________
<hr>

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...

    ---<br><br>

    ...and after a horizontal rule.
    </code>
  </td>
  <td>
    <code class="highlighter-rouge">
    Without blank lines, this would be a heading.<br>
    ---<br>
    Don't do this!
    </code>
  </td>
</tr>