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

block math syntax and generated display math block should be inline-blocks. #17

Open
geyang opened this issue Mar 31, 2016 · 0 comments

Comments

@geyang
Copy link

geyang commented Mar 31, 2016

Thanks for this great plug-in!

I noticed that the block math have to be on separate lines. Typographically LaTeX display math are inline-blocks and they can be typed inline. So the following syntax should be supported:

some text right here $$ \alpha $$ and some more inline math. 

In addition, the generated html should be:

<p>some text right here 
    <span display math here></span>
</p>

Right now the handling is incorrect. the result atm is:

<p> some text right here</p>
<span display math></span>
<p></p>
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