You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can provide an object of options as the last argument to katex.render and katex.renderToString. Available options are:
displayMode: boolean. If true the math will be rendered in display mode, which will put the math in display style (so \int and \sum are large, for example), and will center the math on the page on its own line. If false the math will be rendered in inline mode. (default: false)
It would be great to enable/disable this with something like:
<Latex displayMode={true}>$y = x$</Latex>
The text was updated successfully, but these errors were encountered:
As mentioned in the KaTeX readme:
It would be great to enable/disable this with something like:
The text was updated successfully, but these errors were encountered: