From a40cc4fa3ef3494c7402965aa5bdcf3b7ccb9908 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Thu, 24 Sep 2020 18:27:57 +0100 Subject: [PATCH] added katex.min.css to webpack for math support --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 23db22890..b61a3e952 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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 math 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",