User script [ChatJax++](https://github.com/vyznev/chatjax) (which requires [SOUP](https://github.com/vyznev/soup), a collection of useful fixes for the SE platform) has been working well for me.