mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
feat(shortcodes): Display a thumbnail for GitHub repos
This commit is contained in:
committed by
Aleksey Smyrnov
parent
1d21656d5e
commit
2bbcd3ab8c
@@ -390,9 +390,10 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
||||
`github` allows you to quickly link a github repository, all while showing and updating in realtime stats about it, such as the number of stars and forks it has.
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
| Parameter | Description |
|
||||
| --------- | ----------------------------------------------------- |
|
||||
| `repo` | [String] github repo in the format of `username/repo` |
|
||||
| Parameter | Description |
|
||||
|-----------------|---------------------------------------------------------------|
|
||||
| `repo` | [String] github repo in the format of `username/repo` |
|
||||
| `showThumbnail` | **Optional** [boolean] display a thumbnail for the repository |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example 1:**
|
||||
|
||||
Reference in New Issue
Block a user