This module defines some helper functions for generating texts with
embedded attributes. Note that there is no need to use these functions.
In particular, if you set markup in labels that are subject to
internationalization, it can be of advantage to write out the markup
instead of using the functions in this module.
In order to display a string that may contain markup characters, use
escapeMarkup.
When you write markup directly, you can make use of the following
convenience tags:
- b
- Bold
- big
- Makes font relatively larger
- i
- Italic
- s
- Strikethrough
- sub
- Subscript
- sup
- Superscript
- small
- Makes font relatively smaller
- tt
- Monospace font
- u
- Underline
The full markup language can be found at
http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html.
|