Create an ePub file from markdown with math
问题 I've spent a considerable about of time trying to figure out how I can take a markdown file, which contains TeX math and convert it into an ePub file where the math is rendered properly. For example: This is a markdown file. Here is a [link](www.example.com). Here is some inline math: $\sigma_{i=1}^n \frac{\mu}{100}$ Here is an equation: $$ y = mx + b $$ How can I convert a markdown file with the above text into an ePub file? I've experimented with different methods of conversion using Pandoc