Greetings,
I am using BlueCloth as a Markdown library for Ruby and I can't find any syntax for getting a text underlined. Any ideas?
Peter
Greetings,
I am using BlueCloth as a Markdown library for Ruby and I can't find any syntax for getting a text underlined. Any ideas?
Peter
Markdown doesn't have a defined syntax to underline text.
I guess this is because underlined text is hard to read, and that it's usually used for hyperlinks.
Another reason is that <u>
tags are deprecated in XHTML and HTML5, so it would need to produce something like <span style="text-decoration:underline">this</span>
. (IMHO, if <u>
is deprecated, so should be <b>
and <i>
.) Note that Markdown produces <strong>
and <em>
instead of <b>
and <u>
, respectively, which explains the purpose of the text therein instead of its formatting. Formatting should be handled by stylesheets.