I've got it running right now on my project WALL, I'm still not even using it to its full potential but it looks so clean and I'm really happy with it. You saved me an unbelievable amount of work trying to make the default twine format look good on mobile LOL
Viewing post in Twine/Sugarcube 2 Template comments
Hello again! First off thank you so much for the kind words <3 I do have what I hope is a simple question though: how exactly do I use the toggle-able dialogue tags? I can see the section of the javascript that defines them but I'm not immediately clear on how to apply the labels to choices in a way that the settings toggle will pick up on.
Hi Charlie! No worries at all, this is a fun one. I actually touched on it in passage 3 of the template (where I talk about the live update macro). Basically, any choice you want to include a dialog tag on needs to go inside of a live block. The code would look like this:
<<liveblock>> *<<link "Choice with flirt label $flirt_label" "4">><</link>> *<<link "Choice with info label $info_label" "4">><</link>> <</liveblock>>
I'm not sure how to get the dialog tags to work with the [[ ]] brackets, so I've always used the <<link>> format. Hope this helps!
Edit: it looks like the thread is making the code text funky. There shouldn't be any line breaks in the code:)