This is an old revision of the document!
When you publish your story to an HTML file, you can choose between story formats. These story formats control both the basic appearance and behavior of your story, though you can customize both of these via individual changes you make to your story.
There are two main story formats to choose from:
This displays your story with white text on a black background. Players can only see one passage at a time, though they can, if you permit, use their browsers' back buttons to return to a previous passage.
The HTML structure of Sugarcane is examinable here.
Sugarcane has a sidebar menu that may contain these entries:
This is simply a variant of Sugarcane with a different design that is more readable on mobile web browsers, especially phones. It is heavily based on the Initializr template.
This displays your story with black text on a chrome background, and as a player clicks links in your story, the text expands. A player can review earlier passages of your story by scrolling upwards. This approach is called stretchtext. They can rewind to past passages to try different choices by simply clicking the links in those passages (but you can optionally disable this in StorySettings).
The StoryMenu in Jonah is simply the box in the upper-right corner.
People have shared several story formats to date, the most famous being SugarCube. These can easily be added to become accessible from inside Twine.
After making any changes inside the “targets” folder, Twine will need to be restarted to update the Story Format menu. Once you restart, from the menu choose Story and then Story Format and select the folder name you created (i.e. sugarcube)
After making any changes inside the “targets” folder, Twine will need to be restarted to update the Story Format menu.