parsed markdown formulas as latex