title: How to convert HTML with mathjax to markdown
body: <p>I recently working on writing machine learning documentations, the math formulas part usually takes me a lot of time. Sometime I found some markdown generate blogs have similar math formulas I need written using mathjax. If I can convert these html blogs including the mathjax formulas back to markdown, it will save me a lot of time, but I am not sure how to do it. I see people talking about using pandoc. I tried it and it is not working on the formulas. Not sure it is because I used it wrong or my input is in unsupported format. </p>
  
  <p>Command I tried</p>
  
  <p><code>pandoc ~/Desktop/test.html -t markdown -o  ~/Desktop/test.md
  </code></p>
  
  <p>Example of my input
  <a href="https://i.stack.imgur.com/MeIAq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MeIAq.jpg" alt="enter image description here"></a></p>