1
0
mirror of synced 2025-12-22 03:16:52 -05:00

Create and populate "Using GitHub Docs" category (#44362)

Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
This commit is contained in:
Ethan Palm
2023-10-17 09:00:57 -07:00
committed by GitHub
parent 8c0599fd44
commit 95853536b1
5 changed files with 19 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
---
title: Using hover cards on GitHub Docs
intro: 'Hover cards give you information about other articles on {% data variables.product.prodname_docs %}.'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Hover cards
redirect_from:
- /get-started/learning-about-github/using-hover-cards-on-github-docs
---
## About hover cards
When you're reading an article on {% data variables.product.prodname_docs %} and find a link to another article, you can open a hover card to get more information about the article. The hover card provides basic information about the article, so you can determine whether it will be useful to you without leaving the article you're reading.
If you navigate {% data variables.product.prodname_docs %} with a mouse, the hover card is displayed when you hover the cursor over a link.
![Screenshot of part of an article on {% data variables.product.prodname_docs %}. A cursor hovers over a link to an article called "Create a repo," and a hover card displays the article's location, title, and introduction.](/assets/images/help/docs/hover-card.png)
## Using hover cards with a keyboard
When you have placed focus on a link to an article, you can press <kbd>Enter</kbd> to follow the link directly, or you can press <kbd>Alt</kbd>+<kbd>↑</kbd> (Windows/Linux) or <kbd>Option</kbd>+<kbd>↑</kbd> (Mac) to open the hover card.
With the hover card open, you can press <kbd>Enter</kbd> to follow the link, or you can press <kbd>Esc</kbd> to close the hover card.