hello again! do you have any resources for text styling in Sugarcube? i'm looking through the Sugarcube documentation but don't see anything about it, and can only seem to find things for Harlowe for some reason. thank you!
yeah so here is the basic styling markup for sugarcube - bold, italics etc. for anything more advanced, you can create a new class style in your css and apply it inline - for example, to have certain text always show up in red & capitalised, you would first create a new class in your css (named "red" in this example):
.red {
text-transform: uppercase;
color: red;
}
then, in your passages, you'd denote that specific text required this class using @@.classname; - so for this example:
this text is normal. @@.red;this text is red.@@
would print:
this text is normal. THIS TEXT IS RED.
this essentially creates the equivalent of <span class="red">inline text with style applied</span> but in sugarcube syntax (you can also just use the html) - here is the sugarcube documentation on this.
you can also apply pseudoclasses to these style classes - before/after/hover etc














