🐛 FIX: :align: for image directive#198
Conversation
Codecov Report
@@ Coverage Diff @@
## master #198 +/- ##
=======================================
Coverage 91.56% 91.56%
=======================================
Files 2 2
Lines 237 237
=======================================
Hits 217 217
Misses 20 20
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
|
This would be awesome! Currently trying to port my project to this theme, but running into the issue where images aren't being centered properly. |
|
nice! is there someplace in the docs where we show off how people can get this to work, so we confirm that it behaves as expected? |
https://sphinx-book-theme.readthedocs.io/en/latest/reference/demo.html#images-figures? |
|
Ya but since the default is now center, the page just shows the same alignment 3 times https://sphinx-book-theme--198.org.readthedocs.build/en/198/reference/demo.html#images-figures |
|
This documentation should help clarify and test the behavior: https://sphinx-book-theme--198.org.readthedocs.build/en/198/reference/demo.html#images. |
|
perfect! thanks so much @najuzilu :-) |

This PR fixes the align option for image directives. I have set the default align behavior to center.