From 423cb993991a031524147db39f56c22b56986e81 Mon Sep 17 00:00:00 2001 From: hiro98 Date: Mon, 27 Apr 2020 18:24:36 +0200 Subject: [PATCH] restore legacy inline delimiter --- manifest.json | 2 +- riot-katex.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 53afa53..a2df437 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Riot KaTeX", - "version": "1.0.9", + "version": "1.1.0", "description": "Renders formulas on riot chat instances chats using KaTeX.", diff --git a/riot-katex.js b/riot-katex.js index 9611495..5c74d39 100644 --- a/riot-katex.js +++ b/riot-katex.js @@ -18,7 +18,8 @@ const math_config = { delimiters :[ {left: "$$$", right: "$$$", display: true}, - {left: "$$", right: "$$", display: false} + {left: "$$", right: "$$", display: false}, + {left: "\\(", right: "\\)", display: false}, ], }