ftnext / sphinx-new-tab-link

Open external links in new tabs of the browser in Sphinx HTML documents
https://ftnext.github.io/sphinx-new-tab-link/guide.html
MIT License
9 stars 2 forks source link

show_external_link_icon is not compatible with .. image:: :target: #16

Closed ChristianH99 closed 3 months ago

ChristianH99 commented 3 months ago

When using new tab link with the new_tab_link_show_external_link_icon option set to true, to link a image to a external site, using the :target: function, the image will not be displayed. Instead the external_link_icon will be displayed.

Using :target: with an image should not lead to the external_link_icon being displayed.

ftnext commented 3 months ago

Thanks for letting me know.

I think I've fixed it. I'll release it later (as 0.5.1).

スクリーンショット 2024-07-29 9 22 47
ftnext commented 3 months ago

@ChristianH99 Thanks for bug report. I just released a fixed version 0.5.1, which supports .. image directive's :target: option.