How to make horizontal line in markdown
Short article on how to make horizontal line in markdown using the hyphens, asterisks, or underscores on a line.
In this post, we will learn how to make a horizontal line in markdown.
In HTML, we can create a horizontal rule by using the <hr/> tag.
However, in markdown, we can create a horizontal rule by using 3 or more asterisks, underscores, or hyphens in a single line.
For example
asterisks * * * *** hyphens - - - --- underscore _ _ _ ___
If you are using markdown compilers to convert it to HTML, we will get
<p>asterisks</p> <hr/> <hr/> <p>hyphens</p> <hr/> <hr/> <p>underscore</p> <hr/> <hr/>
Related Topics:
Related Posts
Checkbox inside GitHub Markdown Table
Short article on how to create checkbox or tick and cross mark inside markdown table in Github using emoji.
How to convert markdown to PDF offline with Pandoc Converter
Find out how to convert or merge two or more markdown files into a pdf format in windows and MacOs using command line in Pandoc document converter.
Easy Way to add Emoji in markdown with VS Code
Find out how to add emoji in your markdown document in VS Code using markdown emoji or emojisense plugins.
How to open markdown link in new tab
Article on how to open a markdown link in a new tab in browser using target="_blank" in the ahref link.
