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

Math Blocks should behave like code fences #7

Closed
leipert opened this issue Sep 2, 2015 · 2 comments
Closed

Math Blocks should behave like code fences #7

leipert opened this issue Sep 2, 2015 · 2 comments

Comments

@leipert
Copy link
Contributor

leipert commented Sep 2, 2015

Code fences can start right after a paragraph
```javascript
var x = y;
```
In my opinion math blocks should also work that way:
$$
x + y
$$
wuhu 
@runarberg
Copy link
Owner

Thank you

@geyang
Copy link

geyang commented Mar 31, 2016

this is simply incorrect. The math blocks should not behave like code fences because

  1. LaTeX does not enforce this, and a lot of users do not use $$ this way.
  2. math blocks are inline-block elements instead of block elements. This should be respected by the markdown syntax as well.

I agree that it is visually appealing to have the display math blocks syntax like this, but again it is not standard and the current html generated is incorrect.

see #17

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

3 participants