This library provides an Elixir wrapper around the Rust mathjax_svg library. This allows you render SVGs and PNGs of mathematical expressions right in Elixir.
Summary
Functions
Render a mathematical expression as a standalone block. The rendered
expression has looser margins and is meant to be displayed as a
standalone figure versus inline with text. If you need to render
expressions inline with text, take a look at the render_inline/2
function.
Same as render/1 but raises on error and returns
just the result on success.
Render a mathematical expression inline. The rendered expression has tighter margins and the display is much tighter.
Same as render_inline/1 but raises on error and returns
just the result on success.
Functions
Render a mathematical expression as a standalone block. The rendered
expression has looser margins and is meant to be displayed as a
standalone figure versus inline with text. If you need to render
expressions inline with text, take a look at the render_inline/2
function.
Same as render/1 but raises on error and returns
just the result on success.
Render a mathematical expression inline. The rendered expression has tighter margins and the display is much tighter.
Same as render_inline/1 but raises on error and returns
just the result on success.