HTML and Macros#
All HTML and macro names (such as those used in Chapbook, Harlowe, and SugarCube) are escaped. They will appear like this
<div> for HTML and this
<<include>> for macros. This is done for easily allowing users to copy and paste the text from the Cookbook into Twine 2.
This example uses the HTML element
<div>and the macro
This example uses the variable exampleValue and uses the global object window and function parseInt().
In some cases, the value of a variable is shown in quotation marks. This is to help users see which values are used and how they might be transformed or inform certain functionality.