Debian Codegraph @

docs/snippets/myst/card-link.txt

raw
1 (cards-clickable)=
2
3 ## Clickable cards
4
5 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:
6
7 :::{card} Clickable Card (external)
8 :link: https://example.com
9
10 The entire card can be clicked to navigate to <https://example.com>.
11 :::
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
20 :::{card} Clickable Card (internal)
21 :link: cards-clickable
22 :link-type: ref
23
24 The entire card can be clicked to navigate to the `cards-clickable` reference target.
25 :::
26
27 :::{card} Clickable Card (internal)
28 :link: cards-clickable
29 :link-type: ref
30 :link-alt: clickable cards
31
32 The entire card can be clicked to navigate to the `cards-clickable` reference target.
33 :::