|
40.
|
|
|
Some text tags take an argument. In that case, the tag name is followed by an equals sign (=), and the argument. The argument may not contain the right-brace (}) character. The meaning of the argument varies based on the text tag.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:142
|
|
41.
|
|
|
General Text Tags
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:148
|
|
42.
|
|
|
Tags that apply to all text are:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:150
|
|
43.
|
|
|
The anchor tag creates a hyperlink between itself and its closing tag. While the behavior of the hyperlink is controlled by the :propref:`hyperlink_functions` style property, the default handler has the following behavior.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:154
|
|
44.
|
|
|
Hyperlinks are rendered using the ``style.hyperlink_text`` style.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:159
|
|
45.
|
|
|
If the argument begins with the text ``"http://"``, clicking on it opens the url in a web browser. Otherwise, the argument is interpreted as a label, which is called in a new context. This allows hyperlinks to be used to define terms.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:161
|
|
46.
|
|
|
Apart from the change in style, there is no specific behavior when a hyperlink is hovered.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:166
|
|
47.
|
|
|
The bold tag renders the text between itself and its closing tag in a bold font. ::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:190
|
|
48.
|
|
|
The color text tag renders the text between itself and its closing tag in the specified color. The color should be in #rgb, #rgba, #rrggbb, or #rrggbbaa format. ::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:197
|
|
49.
|
|
|
The characters per second tag sets the speed of text display, for text between the tag and its closing tag. If the argument begins with an asterisk, it's taken as a multiplier to the current text speed. Otherwise, the argument gives the speed to show the text at, in characters per second. ::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:205
|