Add LaTeX / math input and rendering support (#345)
authorginnyTheCat <ginnythecat@lelux.net>
Sun, 24 Apr 2022 15:48:35 +0000 (17:48 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 15:48:35 +0000 (21:18 +0530)
commitb7c5902f67e0a179840c61de19e60dcf78b00316
treea8e0da6bcdc9de5ec6db1dcb2d66d15045f56344
parent9a22b255645287bad642d3e320a23d584121990e
Add LaTeX / math input and rendering support (#345)

* Initial display support

* Use better colors for error in math parsing

* Parse math markdown

* Use proper jsx

* Better copy support

* use css var directly

* Remove console.debug call

* Lazy load math module

* Show fallback while katex is loading
package-lock.json
package.json
src/app/atoms/math/Math.jsx [new file with mode: 0644]
src/app/molecules/message/Message.jsx
src/client/state/RoomsInput.js
src/util/markdown.js
src/util/sanitize.js
src/util/twemojify.js [deleted file]
src/util/twemojify.jsx [new file with mode: 0644]