If I try to right-align an image in reStructuredText:
.. image:: https://travis-ci.org/jkleint/blamethrower.png
:align: right
It comes out left-aligned: https://github.com/jkleint/blamethrower/blob/master/README.rst
python-creole, which seems to be used for rest2html, does not support it at the moment.
I've made a fix & pull-request to jedie/python-creole#11 for fixing it.
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.
I'm gonna look into it.
Align is deprecated in HTML5: http://stackoverflow.com/questions/14551305/align-attribute-deprecated
This bug is not fixed, :align: right has no impact on the emitted HTML, which is wrong. please reopen
I think this is still an issue. Any help?
Align is deprecated in HTML5: http://stackoverflow.com/questions/14551305/align-attribute-deprecated
@gjtorikian reStructuredText鈥檚 align is not HTML, is reStructuredText syntax. And it is _not_ deprecated (emphasis mine):
The alignment of the image, equivalent to the HTML
tag's deprecated "align" attribute or the corresponding "vertical-align" and "text-align" CSS properties. The values "top", "middle", and "bottom" control an image's vertical alignment (relative to the text baseline); they are only useful for inline images (substitutions). The values "left", "center", and "right" control an image's horizontal alignment, allowing the image to float and have the text flow around it. The specific behavior depends upon the browser or rendering software used.
I don鈥檛 work at GitHub anymore, please contact their support.
@kivikakk Any chance you could reopen this issue?
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.
Most helpful comment
This bug is not fixed,
:align: righthas no impact on the emitted HTML, which is wrong. please reopen