User Tools

Site Tools


formatting_passages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
formatting_passages [2013/11/12 21:27]
admin created
formatting_passages [2017/10/09 20:39] (current)
Line 1: Line 1:
-Sometimes you'd like to apply styles to your text -- to italicize a book title, for example. You can do this with simple formatting codes that are similar to the double brackets of a link. Here is what's available to you: +#redirect syntax
- +
-^ Formatting ​   ^ Source Code                ^Appears As         ^ +
-| Italics   | %%//​text//​%%      | //​text// ​         | +
-| Boldface   | %%''​text''​%%      | **text** ​         | +
-| Underline   | %%__text__%% ​            | __text__ ​         | +
-| Subscript   | %%H~~2~~O%%      | H2O               | +
-| Superscript   | %%meters/​second^^2^^%% ​  | meters/​second2 ​   | +
-| Monospace   | %%{{{text}}}%%      | text              | +
-| Bulleted list   | %%* one%% \\ %%* two%%   | FIXME             | +
-| Numbered list   | %%one%% \\ %%# two%%   | FIXME             | +
-| Horizontal line | %%----%% ​                | FIXME             |  +
- +
-Lists in particular are useful for setting off choices at the end of a passage. Although it feels natural to leave an empty line between a paragraph and a list, this creates extra whitespace that looks a little strange. Here's what it should look like: +
- +
-<​code>​ +
-It's a dark and stormy night aboard the Orient Express. You can't sleep; +
-something about the motion of the train disturbed you subtly. So instead you +
-have elected to spend the night in the dining car, sipping coffee and perusing +
-[[the newspaper|The London Times]]. +
- +
-You hear the door to the car open behind you. +
-* [[Look up]] +
-* [[Continue reading]] +
-</​code>​ +
- +
-If there'​s a particular kind of formatting that you'd like to use that isn't supported natively by Twee, you can put HTML source code directly into your story'​s text by surrounding it with <​html>​ and </​html>​. This passage, for example, blinks: +
- +
-<​code>​ +
-The bomb's timer now reads: <​html><​blink>​5:​00</​blink></​html>​. You sure hope +
-that's five hours, not five minutes. +
-</​code>​+
formatting_passages.1384309677.txt.gz · Last modified: 2017/10/09 20:37 (external edit)