So I want to have KaTeX inline formulas like with MathJax. But so far I\'ve found only render() function which \"draws\" a string to an element. And I need
render()
render can take an extra third argument (default is false) to select inline displaymode:
katex.render("c = \\pm\\sqrt{a^2 + b^2}", element, { displayMode: true });
Is this what you are looking for?