Text Formatting?


#1

I didn’t see it, if it’s part of the official docs, but maybe I just missed it. If so, sorry and someone please link me?

How much control over formatting do we have, in ChoiceScript? I see there’s [i] and [b] (which, I’ve discovered, end at the end of the line in the source code, which seems odd to me). I was wondering about, say, changing the color of a section of text, etc. Is there an easy way to do this? Or would I be adding a class to the css and then… doing something to get a paragraph or <div> labeled with that class?

Thanks, in advance, for the help.


#2

There’s no easy way to do it.


#3

There’s also string line breaks with [n/].
You can edit the source and simply add additional regex rules to match your custom tags, but otherwise as FGF says, there’s no standard support for any more.


#4

Hmm hmm. OK. Thanks, y’all. I may go poke around in the source code. Does CoG accept Pull Requests on the repository?


#5

I opened two Issues on the Github repository. We’ll see what comes of them. :smile:


#6

No, they don’t, not from my experience.
I can’t even recall Dan commenting on a recent pull request. You’d probably have more luck sending an email.

EDIT: I knew I’d answered this before somewhere!