A summernote plugin that uses KaTeX to insert rendered math.
https://rawgit.com/tylerecouture/summernote-math/master/Example/example.html
-
Include KaTex:
-
Include summernote-math.js:
-
add
math
to your toolbar somewhere:
$('#summernote').summernote({
toolbar: [
...
['insert', ['pitcure', 'link', 'math']],
]
});
Use LaTeX markup, as supported by KaTeX to insert math. For example:
c = \pm\sqrt{a^2 + b^2}
or
f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi
- Add ability to edit existing math elements