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

image not respecting alignement with png in .rst #1760

Closed
12rambau opened this issue Jan 9, 2024 · 4 comments
Closed

image not respecting alignement with png in .rst #1760

12rambau opened this issue Jan 9, 2024 · 4 comments

Comments

@12rambau
Copy link

12rambau commented Jan 9, 2024

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.

@jluebbe
Copy link

jluebbe commented Jan 19, 2024

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

@12rambau
Copy link
Author

Actually this is not respected by .sgv image anymore either. I think it's related to all the regression issue reported since Jan #1798

Copy link

Stale issue message

@lafrech
Copy link

lafrech commented Oct 1, 2024

This thread might be stale, but the issue is still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants