How to insert a horizontal line in a README.md file
Asked Answered
T

2

14

I am trying to insert a horizontal line in a README.md file and I don't know how to.

Tun answered 3/9, 2020 at 20:38 Comment(0)
T
28

Insert a couple of dashes like this:

-----

And the result will be:


If the text on top of the dashes enlarges instead, then move the dashes down 1 line.

Tun answered 3/9, 2020 at 20:38 Comment(2)
Or write <hr> in README.mdPhilately
Best practice is just 3 dash. ---Verboten
T
0

You can take the reference from Writing Github README "To create a horizontal rule, use three or more asterisks (***), dashes (---), or underscores (___)."

Thence answered 19/7, 2024 at 17:34 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.