markup icon indicating copy to clipboard operation
markup copied to clipboard

image not respecting alignement with png in .rst

Open 12rambau opened this issue 2 years ago • 2 comments

I decided to open a follow-up of this thread as the bug seems to be fixed but fails on some more specific image type.

I try to align the content of my readme.rst file to use as a long description in my pypi release. using the .. raw:: directive is then impossible.

A common way to do it (that works on both sphinx and pypi) is:

.. image:: toto.png
   :align: center

It seems this is not taken into account when generating .png preview as shown in this gist where the .svg is correctly aligned and the .png is not.

12rambau avatar Jan 09 '24 16:01 12rambau

It seems that alignment also doesn't work for URLs with parameters (?foo=1) after the .svg.

jluebbe avatar Jan 19 '24 11:01 jluebbe