-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Image alignment not respected in reStructuredText #163
Comments
python-creole, which seems to be used for |
python-creole is IMHO not used here. See: https://github.com/github/markup/blob/master/lib/github/commands/rest2html |
oh, my bad. I assumed it is used here. |
Align is deprecated in HTML5: http://stackoverflow.com/questions/14551305/align-attribute-deprecated |
This bug is not fixed, |
`:align:` is not considered. Ref: github/markup#163
I think this is still an issue. Any help? |
@gjtorikian reStructuredText’s
|
I don’t work at GitHub anymore, please contact their support. |
@kivikakk Any chance you could reopen this issue? |
#1222 is an old attempt by me to fix this, and I assume it didn’t fix this because of gjtorikian/html-pipeline#302. Not entirely sure if that’s still the case. We just need someone at GitHub to start caring at some point. |
I also don't work at GitHub anymore, sorry; contacting support remains your best option. |
@kivikakk Sorry, I saw your commits were the most recent, I did not realize they were from more than 1 year ago. I wonder if GitHub is even maintaining this anymore. |
@aharpole Could we reopen this issue? |
I am experiencing the same problem. The |
In case people aren't aware of this workaround note Github does however respect
does work even if the equivalent rst
|
The |
At last! I assume this was fixed by #1452. |
It doesn't work for me using a PNG file, either a local one or an URL. |
Does work for us: https://github.com/scverse/anndata#readme It's a SVG, but I'm unsure how this could be relevant. |
Here you have a gist showcasing both cases https://gist.github.com/jmi2k/f422df7d4a67dde9c19e74d091c3582e. |
Interesting, the PNG one does not seem to get |
If I try to right-align an image in reStructuredText:
It comes out left-aligned: https://github.com/jkleint/blamethrower/blob/master/README.rst
The text was updated successfully, but these errors were encountered: