Skip to content

Option to open clickable cards in new tab #170

Description

@kasuteru

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)
🔗 https://example.com
:link-newtab: true

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

Tasks and updates

Not sure

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions