Live Example

Twee Code

:: StoryTitle
Story and Passage API in Snowman
:: Start
The title of this story is "<%= window.story.name %>."
<%
window.setup = {};
window.setup.passage = window.story.passage("Storage");
%>
The name of the passage is "<%= setup.passage.name %>."
The source of the passage is "<%= setup.passage.source %>"
:: Storage
This is content in the storage passage!