tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
177 stars 41 forks source link

Make <<back>>/<<return>> accept passage argument #216

Closed tmedwards closed 2 months ago

tmedwards commented 1 year ago

Make the <<back>>/<<return>> macro accept an optional passage argument in its separate argument form like the <<link>> macro does. E.g.:

→ Creates a link that undoes past moments until the most recent "HQ" moment is reached, with text "Home."
<<back "Home." "HQ">>