Markdown Monster

mathematical formula

Hello ! Monster Markdown is a great app. thank you for that.

I have an other question. In Markdown monster, the mathematical formula below appears.

But when I want to generate a PDF or HTML file, it shows me the code below.

$$ E(Y)=-\sum_{i=1}^{p}p_{i}*log_{2}(p_{i}) $$

What I have to do to get him to show me the formula correctly in a PDF or HTML file ?

Thank you so much