What is the best way to use LaTeX in quotes?

I have tried some ways to input LaTeX formulas in quote blocks but all of them have some bugs…

The formula for testing:

$$
\mathrm{e}^{i\theta} = \cos \theta+i\sin \theta
$$

图片

  • method 1:
> $$
> \mathrm{e}^{i\theta} = \cos \theta+i\sin \theta
> $$

incorrectly rendering in Live Preview mode (shown in the figure below), but works well in reading mode:

  • method 2
> $$
  \mathrm{e}^{i\theta} = \cos \theta+i\sin \theta
  $$

Lorem Ipsum ...

rendering the next line as math incorrectly in reading mode:

  • method 3

write them in one line:

> $$\mathrm{e}^{i\theta} = \cos \theta+i\sin \theta$$

Now it was correctly rendered, but not so convenient for writing if the formula is too long…

So is there a better method to write LaTeX formula in quote blocks?

Thanks in advance

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.