corrected forjego shortcode docs

This commit is contained in:
Nuno Coração
2025-07-10 11:59:24 +01:00
parent 150d336ace
commit 71f4eda1fd
6 changed files with 33 additions and 12 deletions
@@ -269,6 +269,27 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用
![Alt text](image.jpg "Image caption")
```
## Forgejo Card
`forgejo` allows you to quickly link a Forgejo repository via the forgejo API, providing real-time updates on stats such as stars and forks.
<!-- prettier-ignore-start -->
| Parameter | Description |
| --------- | ----------------------------------------------------- |
| `repo` | [String] forgejo repo in the format of `username/repo`|
| `server` | [String] server URL like `https://v11.next.forgejo.org`|
<!-- prettier-ignore-end -->
**Example 1:**
```md
{{</* forgejo server="https://v11.next.forgejo.org" repo="a/mastodon" */>}}
```
{{< forgejo server="https://v11.next.forgejo.org" repo="a/mastodon" >}}
<br/><br/><br/>
**例如:**
```md