Rendering uses KaTeX, which supports a large subset of LaTeX math (most of what course notes and papers use); a few rare macros aren't covered and will show an error you can fix. MathML export is for pasting into documents that accept it; PNG export rasterizes the rendered formula on a transparent background. Everything runs on your device.