After writing these equations, you can export your sheets as Markdown files. Just press ⌘6 to bring up Quick Export and select the “Text” exporter from the top-left menu. Next, select the “Markdown” format and save your sheet.
pandoc Math.md --output Math.pdf
When executing this command, Pandoc will create a PDF file for you, automatically rendering the equations.
In recent years, MathJax has gained much attention. Since it’s written in JavaScript, it can be rendered by any browser, which makes it perfect for showing your equations within Ulysses' export preview itself. You can write your MathJax formulas in Ulysses just fine: wrap them in Raw Source tags. You will need to place the following snippet in Raw Source Block tags before your actual formula though:
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath:[['$','$']]}});</script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=default' async></script>