HTML Elements

Snowman follows the Twine 2 standard of using <tw-storydata> and <tw-passagedata> elements to store information about the story and individual passages. Beyond this, Snowman 2.X also uses <tw-story> as the story rendering area.

During a passage transition, the contents of a <tw-passage> element with the class "passage" is replaced. The element with the class "passage" will always be a child of an element <tw-story>. However, it may not be the only child.

Example Snowman 2.X HTML Structure

        <title>Test File</title>
        <meta charset="utf-8">
                  <!-- Snowman Styles -->

            <tw-passage class="passage" aria-live="polite">
                    <p>Double-click this passage to edit it.</p>

               <!-- Twine 2 data -->

            /* Snowman code* /

results matching ""

    No results matching ""