Text Formatting?

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.

There’s no easy way to do it.

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.

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

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

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!

1 Like