Hello. I apologise if this has been asked before somewhere and I haven't found it.
Within the editor view of Twine 2.0 (as pictured), it would be extremely useful for me to me to be able to tag passages (or do something similar) and thereby have them appear as different colours, e.g. tag "death" = background red; tag "luck" = background yellow.
I'm talking only about the editor view, not the play view, and if it's possible to do this in the CSS stylesheet then that's A-OK by me.
If anyone can help me, please, I'd be very grateful.
The concept have been brought up in the past (Issue 169), and one programmer even started working on a possible implementation (pull request 62) but it was not finished due to the fact that the Twine 2.x project's code-base was in the middle of a re-structure at the time.
The only semi-relevant reference I could find was this comment in 2016, which was based on a misunderstanding of my own previous comment in that thread, and the commented on re-design of the application was finished and became the Twine 2.1 release.
P.S. I believe the best place to ask for a feature like this would be the Issues area of the Twine 2 project repository.
You can change the el.style.color = tagColors[tag]; to el.style.boxShadow = "0 0px 20px " + tagColors[tag]; to get this effect: