This leads to incompatibility with github-flavored markdown, which seems to be sensitive to these blank lines:
Example
Some text
$$
\LaTeX \text{ after blank line renders fine}
$$
Versus some text
$$
\LaTeX \text{ without blank line does not render}
$$
Suggested solution
I think Typora's behavior when creating new paragraphs via enter should not change if a math block occurs, i.e., a new line should be injected. The behavior requested in https://github.com/typora/typora-issues/issues/34 should be optional by simply using shift+enter as in normal Typora text writing, which results in a new line instead of a new paragraph
(related: https://github.com/typora/typora-issues/issues/34)
When I create a new paragraph (by hitting enter), the default behavior of Typora in write mode is to enter an empty line, e.g.
However, when a math block follows, that empty line gets removed (I assume because of https://github.com/typora/typora-issues/issues/34), resulting in e.g.
This leads to incompatibility with github-flavored markdown, which seems to be sensitive to these blank lines:
Example
Some text
$$ \LaTeX \text{ after blank line renders fine} $$
Versus some text $$ \LaTeX \text{ without blank line does not render} $$
Suggested solution
I think Typora's behavior when creating new paragraphs via
enter
should not change if a math block occurs, i.e., a new line should be injected. The behavior requested in https://github.com/typora/typora-issues/issues/34 should be optional by simply usingshift+enter
as in normal Typora text writing, which results in a new line instead of a new paragraph