Revision of Twine FAQ/How-to, first draft from Thu, 05/16/2013 - 02:29

How to center the text of all passages
CSS:
.passage { text-align:center; max-width:50%; margin:auto; }
Note: 50% can be changed to a different value if you want the text to be wider.

How to remove the entire Sugarcane sidebar
CSS:
#sidebar { display: none; }

How to remove the vertical line to the left of Sugarcane passages
CSS:
#passages { border-left: 0; }

How to link to a passage whose name is in a variable
Macro:
<<print "[[Link text|" + $variable + "]]">>

How to <<display>> a passage whose name is in a variable
Install this script.

How to change the page title
Macro:
<<set document.title = "Page title">>

pensive-mosquitoes