Commit Graph

1 Commits (6941e6e41580ba5d19a9b8ac3d4ec6cc29ba4d04)

Author SHA1 Message Date
Dozens B. McCuzzins 6941e6e415 add twee and html
turns out twee, the plain text twine format, is dead simple. a little
sed and a recfmt template, and now we have twine support! installed
tweego[1] and now i have a little html pipeline! and with the twison
format library[2] i also get a json object of the whole game in case i
want to embedd it in some other framework or something. the only kind of
annoying part is that instead of generating json, it generates a
preformatted html tag full of the json object that is created on the fly
with javascript. so you can't just dump the contents. you have to open a
browser and copy the contents of the div to a file. unless you use like,
a headless browser or something.

[1]: https://www.motoslave.net/tweego/docs/
[2]: https://github.com/lazerwalker/twison
2023-11-28 21:51:33 -07:00