Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown Editor incorrectly inserts blank line to Latex block #81

Closed
winston-zillow opened this issue Dec 22, 2022 · 0 comments
Closed

Comments

@winston-zillow
Copy link

Open a markdown document in the IDE's built-in markdown editor, insert a standalone latex markup block, like

$$
s_i = P(V | z_i) = f_s(z_i; \theta^{s})
$$

Go to the Markdown Editor tab, notice the math formula is rendered.

Go back to the IDE's editor tab, notice that a newline has been inserted at the closing $$:

$$
s_i = P(V | z_i) = f_s(z_i; \theta^{s})

$$

This will cause tools like pandoc to error when seeing the block:

Error producing PDF.
! Missing $ inserted.
<inserted text> 
                $
l.439 ...P(V\textbar z\_i) = f\_\{s\}(z\_i; \theta

Removing the extra newline, the rendering works again.

Screenshot before:
Screen Shot 2022-12-22 at 12 16 59 PM

Screenshot after:
Screen Shot 2022-12-22 at 12 17 36 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant