> I just started learning to use reST today and couldn't find in quickref=
> how to show underline for text (HTML: <u>text with underline</u>). =20
> Where did I miss it?=20
You didn't miss it. Underlining is intentionally not part of reST.
Re-quoting David Ascher:
Underlines shouldn't be used from a typographic perspective
(underlines were designed to be used in manuscripts to communicate
to the typesetter that the text should be italicized -- no
well-typeset book ever uses underlines)
If you want to add underlines as graphic accents uniformly to certain ele=
in your HTML, you can use CSS.
If you absolutely have to have underlined text, you can. It's possible,
although intentionally roundabout. Create a custom interpreted text unde=
.. role:: underline
This is :underline:`underlined text`.
.. role:: u
This is :u:`underlined text`.
See http://docutils.sf.net/docs/ref/rst/directives.html#role .
You'll still need CSS styles to support the roles above.
You can make your custom role the default interpreted text role::
.. default-role:: underline
This is `underlined text`.
See http://docutils.sf.net/docs/ref/rst/directives.html#default-role .
David Goodger <http://python.net/~goodger>