|
38.
|
|
|
The second way is through text tags. Text tags are suitable for styling a portion of text block, or a small fraction of the text blocks in the program. If you find yourself applying the same text tags to every line of text, consider using a style instead.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:125
|
|
39.
|
|
|
There are two text tags. Some text tags are self-closing, while others require a closing tag. When multiple closing tags are used, they should be closed last open, first closed order - Ren'Py will reject incorrect nesting. For example::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/text.rst:130
|
|
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
|