Twine Version: 2.3
Story Format: SugarCube 2.0
How do I style only one part of the text inside a link without affecting all of the text? In the example below, I want the “40” to be a different color to the rest. I would also like to use the | symbol as part of the text. Obviously this doesn’t work because it’s used to link to a passage different than what the link text is.
I want the link text to be “40 (yellow text color) | Do some schoolwork (2hr) (standard text color)”
I tried this but unsurprisingly you can’t add a span element inside of a link like this.
[[⚡<span class="energy">40</span> | Do some work]]