← Back to all FAQs
FAQ

How to underline in markdown?

Standard core Markdown syntax does not include a native symbol for underlining text. This design choice was intentional by Markdown's creator, John Gruber, to prevent inline underlined text from being confused with hyperlinked text on web pages. However, because Markdown natively supports embedded HTML elements, you can easily underline text in almost any Markdown viewer by wrapping the target words in standard HTML underline tags: `<u>your text here</u>`. Alternatively, you can use raw CSS inline styling: `<span style="text-decoration: underline;">your text here</span>`. Keep in mind that some specialized Markdown platforms or rich text editors (like Notion or GitHub issues) support custom visual shortcuts (like `Ctrl+U` or `Cmd+U`), but under the hood, standard Markdown parsers rely on rendering the HTML `<u>` tag to display underlined text.

← what does markdown editor mean