Don't support newline in $$ $$ using \\

version:1.1.9
MacOS 10.15.7

Except:

But it not support \ to create newline:

It can be done like this:

$$
\begin{aligned}
a \\
b
\end{aligned}
$$

or

$$
\begin{gathered}
a \\
b
\end{gathered}
$$

Thanks! But another bug appears.
There are three $$ $$ as follow:


But in the source code mode, if I click the third one, it focus the first $$ $$‘s code:

There are 3 modes in Obsidian:

  1. Source Mode
  2. Live Preview
  3. Reading Mode

I believe the live preview mode sometimes has a selection issue, like you are mentioning. Sometimes it gets confused what equation you click. Reloading obsidian or the page itself solves it.

When writing notes with equations I prefer split screen (can be selected on the top right of a note), on the left source mode and on the right reading mode.

In live preview (WYSIWYG) the text jumps up and down when clicking on equations and you easily lose the focus. And on top of that it has issues like what you are mentioning.

You could consider to write your code as:

$$ 
\begin{aligned}
\text{E M U L} & \leq 8 \\

\text{E M U L} & = \text{L M U L} \cdot \frac{\text{E E W}}{\text{S E W}}
\end{aligned}
$$

The & symbol can be used to vertically align lines in your equation however you want.

You did not follow the bug report template and I am not sure if you tried to search before posting.