Reputation: 4460
I am using the below code for drawing the horizontal line
"-----"
"***"
I want to change the color of the horizontal line plus change the height also.
How can I do this?
Upvotes: 53
Views: 50008
Reputation: 113
Use:
<hr style="border:2px solid blue">
Here the colour of the line has been changed as well. This method uses standard HTML markup and works much better than just "***".
Upvotes: 8
Reputation: 738
Instead of using *** or ---, try:
<hr style="border:2px solid gray">
Upvotes: 61
Reputation: 438
You can add a thinner line than the normal one by simply writing an empty heading #
Example:
Upvotes: 36
Reputation: 6983
From the cheatsheet
Three or more...
Hyphens
---
Asterisks
***
Underscores
___
give you the same thing, which is the standard horizontal line.
You cannot style markdown, you get what you get. Github chooses the style.
Upvotes: 39