-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👌 Use reference name by default for internal link cards (#183)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
- Loading branch information
1 parent
3374383
commit e258b45
Showing
6 changed files
with
156 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
.. _cards-clickable: | ||
|
||
Cards Clickable | ||
Clickable cards | ||
............... | ||
|
||
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: | ||
|
||
.. card:: Clickable Card (external) | ||
:link: https://example.com | ||
|
||
The entire card can be clicked to navigate to https://example.com. | ||
|
||
.. card:: Clickable Card (external) | ||
:link: https://example.com | ||
:link-alt: example.com | ||
|
||
The entire card can be clicked to navigate to https://example.com. | ||
|
||
.. card:: Clickable Card (internal) | ||
:link: cards-clickable | ||
:link-type: ref | ||
|
||
The entire card can be clicked to navigate to the ``cards`` reference target. | ||
The entire card can be clicked to navigate to the ``cards-clickable`` reference target. | ||
|
||
.. card:: Clickable Card (internal) | ||
:link: cards-clickable | ||
:link-type: ref | ||
:link-alt: clickable cards | ||
|
||
The entire card can be clicked to navigate to the ``cards-clickable`` reference target. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters