[Markdown] Markdown math doesn't render in list-indented blockquotes #122438
Replies: 1 comment
-
I have found the newline after the opening > Test 1
>
> $$
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
> Test 2
>
> $$
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
> Test 3
>
> $$
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
> Test 4
>
> $$
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
* List item
> Test 5
>
> $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
>
> Test 6
>
> $$
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
>
> Test 7
>
> $$\\
> \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
> $$
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I often write markdown documents. They render fine in my VS Code preview and they export fine as well, but block-style math inside list-indented blockquotes don't render well in the web preview. Inline math works fine. Blockquotes work fine. But when you try to add a blockquote at the same indentation level as a list item, with math inside, it breaks. We can see it right here in this message. I'll use the same examples as the docs page.
Case 1: base
Produces this:
This sentence uses$\sqrt{3x-1}+(1+x)^2$
$
delimiters to show math inline:The Cauchy-Schwarz Inequality
Case 2: blockquote
Produces this:
Case 3: in-list blockquote
Produces this (image in case it gets fixed):
List item
Beta Was this translation helpful? Give feedback.
All reactions