Need help formatting math notation using markdown and earmark

In my LiveView app, I am displaying markdown text as HTML using Earmark. I would like to now support entering math symbols, for example, an equation, etc, into my markdown text, and getting that displayed properly in the Earmark translation to HTML. I had hoped that there was support for this but I’m not finding any. Does anyone have any suggestions? Thanks