diff --git a/apps/web/src/settings/Settings.tsx b/apps/web/src/settings/Settings.tsx index 67d0a31e14..69b0363a33 100644 --- a/apps/web/src/settings/Settings.tsx +++ b/apps/web/src/settings/Settings.tsx @@ -207,7 +207,7 @@ export interface Settings { [Features.NotificationSettings2]: IFeature; "feature_msc3531_hide_messages_pending_moderation": IFeature; "feature_report_to_moderators": IFeature; - "feature_latex_maths": IFeature; + "feature_latex_maths": IBaseSetting; "feature_wysiwyg_composer": IFeature; "feature_mjolnir": IFeature; "feature_custom_themes": IFeature; @@ -478,12 +478,10 @@ export const SETTINGS: Settings = { default: false, }, "feature_latex_maths": { - isFeature: true, - labsGroup: LabGroup.Messaging, displayName: _td("labs|latex_maths"), supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG_PRIORITISED, supportedLevelsAreOrdered: true, - default: false, + default: true, }, "feature_wysiwyg_composer": { isFeature: true, diff --git a/docs/labs.md b/docs/labs.md index 7919c4737f..318bb219d9 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -15,10 +15,6 @@ dropped. Ask in the room if you are unclear about any details here.** A new version of the "Report" dialog that lets users send abuse reports directly to room moderators, if the room supports it. -## Render LaTeX maths in messages (`feature_latex_maths`) - -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). - ## Message pinning (`feature_pinning`) Allows you to pin messages in the room. To pin a message, use the 3 dots to the right of the message