Document use of the 'underline' class. (#7492)

Addresses a comment in #7484.
This commit is contained in:
William Lupton 2021-08-12 18:18:22 +01:00 committed by GitHub
parent fc20672bb9
commit 649133fe5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4396,6 +4396,18 @@ Attributes can be attached to verbatim text, just as with
`<$>`{.haskell}
### Underline ###
To underline text, use the `underline` (or `ul`) class:
[Underline]{.underline}
Or, without the `bracketed_spans` extension (but with `native_spans`):
<span class="underline">Underline</span>
This will work in all output formats that support underline.
### Small caps ###
To write small caps, use the `smallcaps` class: