In case anyone is looking for an alternative - I've launched https://latex.to here on HN last year.
Since then I've added the option to save formulas in your browser via IndexedDB.
The data URI you're using has no MIME type, and even then the data is still an invalid PNG image. Not sure why the Stack Overflow answer is suggesting that.
This is a space where Hacker News readers can come along and discuss technology, science, and business.
Location: The Masque Haunt (Wetherspoon) 168–172 Old Street, London, UK
Time: Tuesday, January 27, 6pm - 9pm
Meetup (65 attendees so far): https://www.meetup.com/hackernewslondon/events/312720206
This is an unofficial, community organized event from Hacker News readers for Hacker News readers.