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 centers an equation if it's in the beginning of a line. #1127

Closed
xijiang opened this issue Apr 27, 2021 · 1 comment
Closed

Markdown centers an equation if it's in the beginning of a line. #1127

xijiang opened this issue Apr 27, 2021 · 1 comment

Comments

@xijiang
Copy link

xijiang commented Apr 27, 2021

For example:

  • $a$ blah, blah

$a$ will be centered. blah, blah will be put in the next line.

This is making it difficult to make this equation inline.

@xijiang xijiang changed the title Markdown equations not distinguish $...$ and $$...$$ Markdown centers an equation if it's in the beginning of a line. Apr 27, 2021
@holomorphism
Copy link
Contributor

Using ``...`` instead of $...$ or putting an extra space at the beginning of the line seems to solve this problem. (``...`` is recommended)

image

Some problems have been pointed out with Markdown parsing, but these are problems with Markdown.jl in julia, not pluto. Some of these issues may be resolved in the future when CommonMark.jl is adopted by julia or pluto. (#956)

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

2 participants