chore: update example post

This commit is contained in:
saicaca 2024-10-27 18:15:50 +08:00
parent 2b9f6bc5bb
commit ec179a2127

View File

@ -8,7 +8,7 @@ category: 'Examples'
draft: false
---
## GitHub repository cards
## GitHub Repository Cards
You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.
::github{repo="Fabrizz/MMM-OnSpotify"}
@ -43,6 +43,8 @@ Critical content demanding immediate user attention due to potential risks.
Negative potential consequences of an action.
:::
### Basic Syntax
```markdown
:::note
Highlights information that users should take into account, even when skimming.
@ -53,6 +55,8 @@ Optional information to help a user be more successful.
:::
```
### Custom Titles
The title of the admonition can be customized.
:::note[MY CUSTOM TITLE]
@ -65,6 +69,8 @@ This is a note with a custom title.
:::
```
### GitHub Syntax
> [!TIP]
> [The GitHub syntax](https://github.com/orgs/community/discussions/16925) is also supported.