mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
Add codeberg shortcode to the shortcode page
This commit is contained in:
parent
cd7cf9b347
commit
6e359f5af8
1 changed files with 19 additions and 0 deletions
|
@ -361,6 +361,25 @@ Finally, custom GitLab instance URL can be provided, as long as the `api/v4/proj
|
||||||
|
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
|
|
||||||
|
## Codeberg Card
|
||||||
|
|
||||||
|
`codeberg` allows you to quickly link a Codeberg repository via the Codeberg API, providing real-time updates on stats such as stars and forks."
|
||||||
|
|
||||||
|
<!-- prettier-ignore-start -->
|
||||||
|
| Parameter | Description |
|
||||||
|
| --------- | ----------------------------------------------------- |
|
||||||
|
| `repo` | [String] codeberg repo in the format of `username/repo` |
|
||||||
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
**Example 1:**
|
||||||
|
|
||||||
|
```md
|
||||||
|
{{</* codeberg repo="forgejo/forgejo" */>}}
|
||||||
|
```
|
||||||
|
{{< codeberg repo="forgejo/forgejo" >}}
|
||||||
|
|
||||||
|
<br/><br/><br/>
|
||||||
|
|
||||||
## Icon
|
## Icon
|
||||||
|
|
||||||
`icon` outputs an SVG icon and takes the icon name as its only parameter. The icon is scaled to match the current text size.
|
`icon` outputs an SVG icon and takes the icon name as its only parameter. The icon is scaled to match the current text size.
|
||||||
|
|
Loading…
Reference in a new issue