It looks hack.chat is using KaTeX under the hood. We recently added support for environments, but haven't implemented {align} yet. If anyone's interest in helping please see https://github.com/Khan/KaTeX/issues/61.
The thing is not my project, I just stumbled over it and submitted it to HN.
You might want to add those to a GitHub issue.