So, to begin the game, I have a section for Content Warning in case people would like to skip certain scenes. In the content warning section, I'd like to have a spoiler tag-esque button that shows text only when pressed. I've tried importing some macros, but I seem to be pretty inept at that (the last time I tried, it really messed up Twine something fierce. Must've done something really wrong.) I know the solution is super easy, I'm just really new to all of this. P: Thanks!
Comments
Add the following to a Script Passage: Add the following to a Stylesheet Passage: To use the macro add the following to your story: notes:
1. You can use the different CSS selectors in the example above to style the generated HTML anyway you like.
2. The HTML code created by the macro looks like the following: (without the line feeds between each span tag)