I have convert to html from docx and it contain Mathjax. Example:
(\\frac{1}{f} = \\frac{2}{{3{d_1}}} = \\frac{2}{{3.20}} = \\frac{1}{{30}} \\Rightarrow f = 30cm)