Skip to content

Rendering LaTeX

You can render LaTeX using the engine.markdown.create function. You just have to keep in mind that you need to surround everything with $ and escape the backslash character.

let str = '$$\\frac{1}{2}$$';
return engine.markdown.create(str);