Live Preview does not honor indented codeblock if there is latex math

Live Preview/Editor does not honor indented codeblock syntax if there is latex math

    $shoud not be math but code$

Reader is correct.

Still the case on 1.14.5. For reference, this is CommonMark’s indented code block rule (4.4 Indented code blocks): a line indented 4+ spaces that doesn’t continue a paragraph is code, and its contents are literal text. Reading view follows it; the editor checks for math first.

It also reaches past the line itself:

    $$x
paragraph

more

Here the editor opens a display math block at $$x that runs over the following lines up to the next $$, while Reading view shows one line of code and two paragraphs. It doesn’t happen when the line above is itself indented code, so only the first line of an indented code block is affected.