General attributes of the story itself, like name or startnode. These
appear on the <tw-storydata>
element when published.
The story's custom JavaScript.
Passages in the story.
Optional
startThe start passage of the story, if one exists. This should always be a
member of passages
.
The story's custom stylesheet.
Returns Twee source code for this story. Warning: if the Twee version specified is less than 3, this is a lossy conversion.
version of Twee to use
text to output between passages, e.g. one or more newlines
Static
fromHTMLCreates an instance from HTML source. This converts from Twine 1 attribute names to Twine 2 attribute names where possible. Where a mapping isn't possible, the attributes are set as-is.
source HTML to use
Twine version used to created the HTML--must be either
1
or 2
If true, doesn't issue any console warnings about potential problems
Static
fromTWSStatic
fromGenerated using TypeDoc
A Twine story.