1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-01 09:58:03 +03:00

Merge pull request #15277 from akissinger/katex

added katex.min.css to webpack for math support (main PR in matrix-react-sdk)
This commit is contained in:
J. Ryan Stinnett
2020-11-27 11:55:56 +00:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ module.exports = (env, argv) => {
"jitsi": "./src/vector/jitsi/index.ts",
"usercontent": "./node_modules/matrix-react-sdk/src/usercontent/index.js",
// CSS for LaTeX maths outout
"katex": "./node_modules/matrix-react-sdk/node_modules/katex/dist/katex.min.css",
// CSS themes
"theme-legacy": "./node_modules/matrix-react-sdk/res/themes/legacy-light/css/legacy-light.scss",
"theme-legacy-dark": "./node_modules/matrix-react-sdk/res/themes/legacy-dark/css/legacy-dark.scss",