Add mathy text support to plotter categories

Summary:
Adds $$ support for latex in the plotter's categories

Test plan:
Load https://www.khanacademy.org/devadmin/content/items/x90fb24c1d7c42fdd
locally, and make the categories use latex

Auditors: justinjaffray, alex