sphinx-design icon indicating copy to clipboard operation
sphinx-design copied to clipboard

Option to open clickable cards in new tab

Open kasuteru opened this issue 2 years ago • 1 comments

Context

For outgoing links, it feels sometimes more intuitive to open a link in a new tab / page instead of the current one. This is for example when our users want to open the actual application from a clickable card while keeping the documentation open.

Proposal

An option :link-newtab: for all clickable cards or just external links, that is by default false (to be backwards compatible) but can be set to true to open link in a new tab. Would look like this:

.. card:: Clickable Card (external) :link: https://example.com :link-newtab: true

The entire card can be clicked to navigate to https://example.com. 

Tasks and updates

Not sure

kasuteru avatar Oct 13 '23 14:10 kasuteru

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Oct 13 '23 14:10 welcome[bot]