From e743a12f30d456fd09fd498f4cc4ff65a3212b18 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Thu, 26 Nov 2020 17:40:14 +0000 Subject: [PATCH] matched setting name to PR in matrix-react-sdk --- docs/labs.md | 4 ++-- webpack.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/labs.md b/docs/labs.md index 198d94f4f1..9188de9c74 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -7,9 +7,9 @@ to `Settings->Labs`. This list is non-exhaustive and subject to change, chat in **Be warned! Labs features are not finalised, they may be fragile, they may change, they may be dropped. Ask in the room if you are unclear about any details here.** -## LaTeX math in messages (`feature_latex_maths`) +## Render LaTeX maths in messages (`feature_latex_maths`) -Enables LaTeX math in messages using [KaTeX](https://katex.org/). +Enables rendering of LaTeX maths in messages using [KaTeX](https://katex.org/). LaTeX between single dollar-signs is interpreted as inline maths and double dollar-signs as display maths (i.e. centred on its own line). ## New spinner design (`feature_new_spinner`) diff --git a/webpack.config.js b/webpack.config.js index b61a3e952f..b20f3722a7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -41,7 +41,7 @@ module.exports = (env, argv) => { "jitsi": "./src/vector/jitsi/index.ts", "usercontent": "./node_modules/matrix-react-sdk/src/usercontent/index.js", - // CSS for math outout + // CSS for LaTeX maths outout "katex": "./node_modules/matrix-react-sdk/node_modules/katex/dist/katex.min.css", // CSS themes