diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 9fe8257c0..eded26fb3 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -175,9 +175,16 @@ delimiters: [ { left: '$$', right: '$$', display: false }, { left: '$ ', right: ' $', display: false }, + { left: '\\pu{', right: '}', display: false }, + { left: '\\ce{', right: '}', display: false }, { left: '\\(', right: '\\)', display: false }, { left: '\\[', right: '\\]', display: false }, - { left: '[ ', right: ' ]', display: false } + { left: '[ ', right: ' ]', display: false }, + { left: '\\begin{equation}', right: '\\end{equation}', display: true }, + { left: '\\begin{align}', right: '\\end{align}', display: true }, + { left: '\\begin{alignat}', right: '\\end{alignat}', display: true }, + { left: '\\begin{gather}', right: '\\end{gather}', display: true }, + { left: '\\begin{CD}', right: '\\end{CD}', display: true } ], // • rendering keys, e.g.: throwOnError: false