It’s not necessary to repeat the hate speech they got defederated over, you can just say “transphobic/homophobic slurs”.
But the words themselves don’t mean anything more than the context they’re used in. I absolutely think you should be able to freely write the bad words that you are talking about to better explain what happened instead of censoring it. It’s obvious that op used it to spread information and not in a negative context, isn’t it?
Yes, there’s a difference between use and mention, but slurs are still slurs even outside of a negative context or without hateful intent.
Repeating slurs isn’t always necessary and can sometimes still be emotionally draining for the targetted group to see even outside of the negative context. Just something to keep in mind.