User Tools

Site Tools


twine_1.4.2_release_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
twine_1.4.2_release_notes [2014/09/20 21:20]
127.0.0.1 external edit
twine_1.4.2_release_notes [2017/10/10 00:39] (current)
Line 1: Line 1:
 +
 **Twine 1.4.2** ([[http://​twinery.org/​downloads/​twine_1.4.2_win.exe|Windows]],​ [[http://​twinery.org/​downloads/​twine_1.4.2_osx.zip|OS X]]) is a minor update for Twine 1.4. **Twine 1.4.2** ([[http://​twinery.org/​downloads/​twine_1.4.2_win.exe|Windows]],​ [[http://​twinery.org/​downloads/​twine_1.4.2_osx.zip|OS X]]) is a minor update for Twine 1.4.
  
Line 36: Line 37:
    
 ===Generated HTML=== ===Generated HTML===
-  * Previously, charspans (that'​s the <​span>​ element wrapped around individual text characters for the purposes of CSS effects) had the classes "​char"​ and a second one representing the char contents - for instance, "​v"​ for lowercase v. But, having a single-character classname for charspans is causing some collisions with certain Firefox extensions. Now, the character is stored in a data-char attribute, so CSS can still potentially select it by, e.g. ''​.char[data-char=v]''​.+  * Previously, charspans (that'​s the ''​%%<​span>​%%'' ​element wrapped around individual text characters for the purposes of CSS effects) had the classes "​char"​ and a second one representing the char contents - for instance, "​v"​ for lowercase v. But, having a single-character classname for charspans is causing some collisions with certain Firefox extensions. Now, the character is stored in a data-char attribute, so CSS can still potentially select it by, e.g. ''​.char[data-char=v]''​ .
   * Also, charspans are no longer generated if the story'​s text or stylesheets do not contain the "​.char"​ or "​[data-char]"​ selectors anywhere.   * Also, charspans are no longer generated if the story'​s text or stylesheets do not contain the "​.char"​ or "​[data-char]"​ selectors anywhere.
   * %%<​style>​%% and %%<​script>​%% elements inside passages now work again. Previously, they did nothing.   * %%<​style>​%% and %%<​script>​%% elements inside passages now work again. Previously, they did nothing.
Line 93: Line 94:
 =====Game engine===== =====Game engine=====
 ===Syntax=== ===Syntax===
-  * You can now use the inline syntax as a shorthand for the ''<​span class="​...">''​ HTML tag. +  * You can now use the inline syntax as a shorthand for the ''​%%<span class="​...">​%%''​ HTML tag. 
       * ''​@@.robot;​This is a robot-class span@@''​ is equivalent to ''<​span class="​robot">​This is a robot-class span</​span>''​.       * ''​@@.robot;​This is a robot-class span@@''​ is equivalent to ''<​span class="​robot">​This is a robot-class span</​span>''​.
       * You can also use it alongside style attributes: ''​@@.robot;​text-decoration:​underline;​This is a robot-class span with an underline@@''​       * You can also use it alongside style attributes: ''​@@.robot;​text-decoration:​underline;​This is a robot-class span with an underline@@''​
twine_1.4.2_release_notes.txt ยท Last modified: 2017/10/10 00:39 (external edit)