mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #1475 from UmmItC/dev
Add codeberg shortcode and icon support
This commit is contained in:
@@ -361,6 +361,25 @@ Finally, custom GitLab instance URL can be provided, as long as the `api/v4/proj
|
||||
|
||||
<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` outputs an SVG icon and takes the icon name as its only parameter. The icon is scaled to match the current text size.
|
||||
|
||||
@@ -115,3 +115,4 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||
| xing | {{< icon xing >}} |
|
||||
| xmark | {{< icon xmark >}} |
|
||||
| youtube | {{< icon youtube >}} |
|
||||
| codeberg | {{< icon codeberg >}} |
|
||||
|
||||
Reference in New Issue
Block a user