Well, I found a solution using utils.decodeHTMLEntities for chars between dollars tags of KaTeX, before the markdown conversion. 🙂
I hope it's not too much insecure...
I notice this forum parse links and show previews. But my forum didn't do it. It is some plugin?