allowInterop(Function f) → JSFunction

Returns a wrapper around function f that can be called from JavaScript using the package:js Dart-JavaScript interop.

render(String expression, element, [RenderingOptions options]) → void

Call katex.render with a TeX expression and a DOM element to render into.

renderToString(String expression, [RenderingOptions options]) → String

Generates an HTML string of the rendered math;



You can provide an object of options as the last argument to katex.render and katex.renderToString.