TADS3 Adv3: Retroactively apply style tags to output?

I’m trying to retroactively format my game’s output without having to insert style tags into every single description/name/action/etc. For example, if I wanted ALL output to be centered, using the <center></center> style tags, how would I go about doing that? I assume that I will have to modify the mainOutputStream somehow? Is there a way to add prefix/suffix to the game’s output?

Thanks for any advice or pointers.

Have you looked into manipulating the transcript at all? That seems like an easy place to insert tags.

1 Like