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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions