Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 538 Bytes

File metadata and controls

10 lines (6 loc) · 538 Bytes

Math Block

In this example, we register the @blocknote/math-block block in a custom schema. The math block renders LaTeX as MathML (using Temml) for the browser to display natively, and reveals an editable LaTeX source popup when selected. Exporting to HTML produces a MathML <math> element, and pasting MathML back in is converted to LaTeX.

Try it out: Click a formula to edit its LaTeX!

Relevant Docs: