How to underline in markdown
Find out how to underline a text in markdown using the <u> tag in HTML.
In this post, we will see how we can underline a text in markdown.
Markdown does not have any syntax to underline, however, we can use the <u> HTML tag to underline any text in our markdown documents.
Underline a text using the <u> HTML tag
hello, this text is <u>underline</u> in markdown
Output:
hello, this text is <u>underline</u> in markdown
Using <ins> tag
We can also use the <ins> HTML tag to underline in a markdown document.
The <ins> tag is the HTML insert tag and it displays as underlined. And so we can use it for underlining.
hello, this text is <ins>underline</ins> in markdown using ins tag.
Output will be
hello, this text is <ins>underline</ins> in markdown using ins tag.
Conclusion:
Between the <u> and <ins> tag, it is better and is recommended to use the <u> tag, because it is exactly what it does.
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.
