It “runs” the representation of the data. In the case of a HTML file and a web browser, the HTML is the representation of some data and the web browser is a runtime. It “represents” some data through a combination of text and its “mark up” to define the structure and other details for another program to read.
The use of the tags “mark up” the existing content, “This would have emphasis!”, and explains how to present its structure. In the above example, the opening tag is, its content is “This would have emphasis!”, and the closing tag is. A common example for “marking up” a document might look like the following:Įmphasis Example This would have emphasis! It then contains some content, and the end of the content is signaled using an ending tag. It does this through using tags.Īn opening tag marks the beginning of some markup. For example, it “marks” where certain parts should have emphasis or be represented by strong emphasis. This means it gives structure to a document and “marks up” where certain parts are within a text. This is part of the acronym itself: HyperText Markup Language. When running a story in a web browser, the different story formats act as a “runtime” and transform the data the Twine editor packaged into a presentation for the user to interact with when playing it. It packages a story for use with a web browser, but does not “run” the data contained within the HTML itself. Something to realize when using the term Twine is that there is not a single “Twine”, but several story formats.
It has to do with how Twine works and why Unity, by itself, is not designed to handle HTML. The long answer is much more complicated than I think some people who ask the question realize.
The short answer is this: you can’t easily do it. As someone who has produced dozens of videos on doing things with Twine and wrote most of the Twine Cookbook, a pretty common question I get from people is some version of the following: “How can I use Twine with Unity?”