restore legacy inline delimiter

This commit is contained in:
hiro98 2020-04-27 18:24:36 +02:00
parent 4799ac8a2b
commit 423cb99399
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Riot KaTeX", "name": "Riot KaTeX",
"version": "1.0.9", "version": "1.1.0",
"description": "Renders formulas on riot chat instances chats using KaTeX.", "description": "Renders formulas on riot chat instances chats using KaTeX.",

View file

@ -18,7 +18,8 @@
const math_config = { const math_config = {
delimiters :[ delimiters :[
{left: "$$$", right: "$$$", display: true}, {left: "$$$", right: "$$$", display: true},
{left: "$$", right: "$$", display: false} {left: "$$", right: "$$", display: false},
{left: "\\(", right: "\\)", display: false},
], ],
} }