Debian Codegraph @

docs/snippets/rst/card-link.txt

raw
1 .. _cards-clickable:
2
3 Clickable cards
4 ...............
5
6 Using the ``link`` and ``link-type`` options, you can turn an entire card into a clickable link. Try hovering over then clicking on the cards below:
7
8 .. card:: Clickable Card (external)
9 :link: https://example.com
10
11 The entire card can be clicked to navigate to https://example.com.
12
13 .. card:: Clickable Card (external)
14 :link: https://example.com
15 :link-alt: example.com
16
17 The entire card can be clicked to navigate to https://example.com.
18
19 .. card:: Clickable Card (internal)
20 :link: cards-clickable
21 :link-type: ref
22
23 The entire card can be clicked to navigate to the ``cards-clickable`` reference target.
24
25 .. card:: Clickable Card (internal)
26 :link: cards-clickable
27 :link-type: ref
28 :link-alt: clickable cards
29
30 The entire card can be clicked to navigate to the ``cards-clickable`` reference target.