BinaryQuantumSoul / discord-latex

BetterDiscord plugin using MathJax to render LaTeX
Apache License 2.0
4 stars 0 forks source link

No multiline supported #2

Open BarioIsCoding opened 4 months ago

BarioIsCoding commented 4 months ago

I can't seem to find out how to use multiline LaTeX code.. any way to fix this?

BinaryQuantumSoul commented 4 months ago

Can you give example of what you are trying to do? As you can see here, you can try using a gather or an align environment.

For example: `$$\begin{gather} a + b = c \\ a = c - b \end{gather}$$` `$$\begin{align} a + b &= c \\ a &= c - b \end{align}$$`

clragon commented 1 month ago

I assume they mean multiline codeblocks, with triple backticks. that would be a great feature to have!

BinaryQuantumSoul commented 1 month ago

Can you give an example of a useful usage ?

clragon commented 1 month ago

Its nicer to read and edit:

\```$
A = \begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{bmatrix}
$\```

than with single quotes (especially for other people who dont have the plugin).