Currently, only basic text can be written in the content of the variant macro.
It should be possible to add rich text in it.