from IPython.display import display, Math, Markdown, Latex, display_markdowndisplay(Markdown('*some markdown* $phi$'))# If you particularly want to display maths, this is more direct:display(Latex('phi'))display(Markdown(r'$b = frac{epsilon}{2}$'))display(Math(r'$F(k) = int_{-infty}^{infty} f(x) e^{2pi i k} dx$'))display(Math(r'$b = frac{epsilon}{2}$'))display(Math(r'$e^x = sum_{i=0}^infty frac{1}{i!}x^i$'))display(Math(r'$sum_{n=0}^inftyfrac{u^n}{n!}Delta^na_i = e^{-u}sum_{j=0}^inftyfrac{u^j}{j!}a_{i+j} $'))