Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Teachable.

Horizontal rules – Markdown




Horizontal Rule 1


Horizontal Rule 2


Click here to see an example of what this code looks like when rendered on GitHub. (Click the Raw button to see the actual Markdown code.)


There are two ways of writing horizontal rules in Markdown. You can create them by putting together 3 dashes or 3 asterisks on their own lines (you can also use more than 3 dashes or asterisks).


First, recreate the code snippet from the Demo section in your Markdown file. Then try customizing the text.


Markdown Reference on CommonMark

Lesson tags: Free Lesson
Back to: Markdown Reference > Markdown Syntax