I use a character attribute style for that.
In the compile format’s styles panel, you can add that style and tell the compiler to remove text of that style from the output.
Compiles to:

I use a character attribute style for that.
In the compile format’s styles panel, you can add that style and tell the compiler to remove text of that style from the output.
Compiles to:
