Good evening,
I'm using JavaScript to move from passage to passage, but I'd like to be able to show links in the storyboard without them showing up in the passage. Right now I'm doing a workaround like:
This is a random passage. <Destinations>[[one]] [[two]] [[three]]</Destinations>
And then I have some CSS like:
Destinations { display: none; }
I'm wondering if there is possibly a more elegant way? I started digging into the Snowman source code a bit.
Also, as an aside, I've been having very good luck using custom tags and then matching them with JQuery and replacing them with richer "components".
Comments
The functionality of a Story Project's Passage Map is controlled by the Twine 2 application's source code, and as far as I know it currently has no way for either a Story Author or a Story Format Developer to control how it determines what is a valid link to a passage** nor a way to create custom connection lines between Passages.
** This is why Twine 2 currently only supports the basic markup based link common to all three of the supplied Story Formats.
<!-- Fake link -->
It better be reliable or I'm switching back to writing on paper, putting them on a cork board, and connecting them with string.
(not really, no)
Just because an undocumented feature works a particular way doesn't mean the developer meant it to or even that they knew said feature existed, this is a common way for unknown bugs to be discovered.
It is common for the contents of a comment to be total ignored by a development environment, unless that environment actively states otherwise. This is why I created an issue on the project's web-site so that we can get an advisory from the developers.