User Tools

Site Tools


twine2:how_to_format_text

How to Format Text

You'll notice that there aren't buttons to add bold or italic styles to your text in Twine, like in a word processor. Instead, Twine story formats use special characters to convey style information. The special characters you type are changed into styles when you play or test your story.

The fastest way to see how what you enter will be interpreted as a style is by using the Test From Here item in the passage menu.

The exact characters to enter depend on which story format you're using. Harlowe (the default one) and Snowman both use Markdown, a commonly-used set of formatting instructions. SugarCube instead uses a convention similar to what's used on Wikipedia 1).

Harlowe Snowman SugarCube
Bold **Bold** or ''Bold'' **Bold** ''Bold''
Italics *Italics* or //Italics// *Italics* //Italics//
Underlined <u>Underlined</u> <u>Underlined</u> __Underlined__
For more information Visit here Visit here Visit here

You can combine styles in any story format by combining them, so that ***bold and italic*** will be displayed as bold and italic in Harlowe 2).

Disabling Style Characters

Sometimes, you don't want to have special characters interpreted as styles. To help you out in this instance, story formats have special characters that note that any text between them should be displayed as-is.

Harlowe Snowman SugarCube
*Boom!* ``*Boom!*`` \*Boom!\* """*Boom!*""" or <nowiki>*Boom!*</nowiki>

But what if you want to use these special characters? You enter them twice in succession, ````like this````.

1)
To be specific, it uses TiddlyWiki formatting.
2)
In SugarCube, you'd write **//bold and italic//** or //**bold and italic**// – both would work equally well.
twine2/how_to_format_text.txt · Last modified: 2017/02/10 17:40 by ateyourlembas