Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Possible Duplicate:
Why can we format text with bold and italic but sideline the underline?

How can I underline text in my questions in Stack Overflow??

This is important for me to format object text like in


in OOP.

This workaround looks a bit stupid at times but maybe it is worth considering. It uses U+0332COMBINING LOW LINE—after each character to render it underlined

I could not combine a semicolon with an underline, so, these are the results.




u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ t̲e̲x̲t̲


Reference: Why can we format text with bold and italic but not underline?

share|improve this question

migrated from Oct 28 '12 at 22:04

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Mat, Toon Krijthe, jonsca, Martijn Pieters, Bo Persson Oct 29 '12 at 9:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 5 down vote accepted

Markdown doesn't have a defined syntax to underline text so to answer your question, you can't.

share|improve this answer
Not completely true, you can always use ascii underline - however it looks a bit odd when used on characters that have a part under the line (y,g,q,...) There are existing tools that will do this for you e.g. example: n̲i̲c̲e̲ t̲e̲x̲t̲,̲ u̲g̲l̲y̲O̲n̲e̲ y̲,̲g̲,̲q̲,̲.̲.̲.̲ – jave.web Oct 11 '14 at 11:27

Not the answer you're looking for? Browse other questions tagged .