Using the Twine Cookbook
The Twine Cookbook provides live examples, Twee source code, and links to download either on each example page under the different topic areas.
Downloading the Live Examples
Note: Code compiled for Twine 1 or Twine 2 is not directly compatible with the other version.
Download the compiled HTML file from an example page.
Twine 2: Use the Import From File option on the right-hand side under the "+Story" button.
Twine 1: Use File->Import and select "Compiled HTML File...".
Downloading Twee Code
Twee source code is provided for all examples to more easily show the passages and what they contain.
Twine 2
Twine 2 does not natively understand Twee source code.
Twine 1
For Twine 1 examples, the Twee source code can be downloaded and imported through going to File->Import and finally selecting "Twee Source Code...".