The combination of these two notions...
[list type=decimal]
I've done some projects in the past with Twine 1.x that involved exporting stories to twee format for import into another environment, and I wasn't seeing that option in Twine 2.
I wanted to learn about how custom story formats are implemented and handled in Twine 2.
...led me to the experiment of creating a custom Story Format that exports your story in twee format. It's pretty simple, just implementing the basic twee format and not trying to include any of the Twine 2 metadata or anything, but I figured it might be useful, and it gave me a good excuse to learn how to make a story format.
So first of all, is there an actual twee export option somewhere in Twine 2, or has someone already provided something similar? I tried searching here and elsewhere to make sure, but I just started learning about Twine 2 so I could just be overlooking it.
If there's not, any interest in a story format that just converts your Twine 2 story to twee source?
[img width=800 height=463]
http://i.imgur.com/SqRtTd6.png[/img]
Comments
Entweedle @ Maximum Verbosity
I've talked to a couple of people who are using it successfully, so hopefully it'll do what you need but let me know if you run into any issues.
There was never a "standard approach" in Twine 1 to begin with. Snowman (for Twine 1), isn't remotely like any of the TiddlyWiki-based story formats (being Markdown-based and lacking a macro system in favor of pure JavaScript). Beyond that, even among the Twine 1.x vanilla story formats there are differences, particularly between Jonah and Sugarcane/Responsive (they're generally minor, yes, but they do exist). There's also SugarCube (for Twine 1), which while TiddlyWiki-based, has differences compared to the vanilla story formats. While you can switch between the Twine 1 TiddlyWiki-based story formats without too much difficulty, unless your story is very basic, there will be issues to resolve (and the more you push the formats, the greater the issues will be).
The only way in which Twine 2 pushes this further is by including Snowman and SugarCube among the basic story format choices, whereas in Twine 1 you had to install them separately.
https://www.maximumverbosity.net/twine/Entweedle/format.js
It's also MIT licensed so feel free to re-host it somewhere else or change it as needed.