mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 19:01:52 +02:00
small polish of new shortcode
This commit is contained in:
parent
0b533a66da
commit
cd073158b1
5 changed files with 93 additions and 34 deletions
|
@ -117,13 +117,13 @@ smartTOCHideUnfocusedChildren = false
|
||||||
cardViewScreenWidth = false
|
cardViewScreenWidth = false
|
||||||
|
|
||||||
[firebase]
|
[firebase]
|
||||||
apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
|
#apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
|
||||||
authDomain = "blowfish-21fff.firebaseapp.com"
|
#authDomain = "blowfish-21fff.firebaseapp.com"
|
||||||
projectId = "blowfish-21fff"
|
#projectId = "blowfish-21fff"
|
||||||
storageBucket = "blowfish-21fff.appspot.com"
|
#storageBucket = "blowfish-21fff.appspot.com"
|
||||||
messagingSenderId = "60108104191"
|
#messagingSenderId = "60108104191"
|
||||||
appId = "1:60108104191:web:039842ebe1370698b487ca"
|
#appId = "1:60108104191:web:039842ebe1370698b487ca"
|
||||||
measurementId = "G-PEDMYR1V0K"
|
#measurementId = "G-PEDMYR1V0K"
|
||||||
|
|
||||||
[fathomAnalytics]
|
[fathomAnalytics]
|
||||||
# site = "ABC12345"
|
# site = "ABC12345"
|
||||||
|
|
|
@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin
|
||||||
|
|
||||||
<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/>
|
||||||
|
|
||||||
## Figure
|
## Figure
|
||||||
|
|
||||||
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
||||||
|
@ -421,10 +440,10 @@ The input is written in Markdown so you can format it however you please.
|
||||||
**Example1 :**
|
**Example1 :**
|
||||||
|
|
||||||
```md
|
```md
|
||||||
{{</* keyword */>}} Super skill {{</* /keyword */>}}
|
{{</* keyword */>}} *Super* skill {{</* /keyword */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< keyword >}} *Standalone* skill {{< /keyword >}}
|
{{< keyword >}} *Super* skill {{< /keyword >}}
|
||||||
|
|
||||||
**Example2 :**
|
**Example2 :**
|
||||||
|
|
||||||
|
@ -745,8 +764,9 @@ consectetur adipiscing elit.
|
||||||
breakLines=false
|
breakLines=false
|
||||||
loop=true
|
loop=true
|
||||||
*/>}}
|
*/>}}
|
||||||
Lorem ipsum dolor sit amet,
|
"Frankly, my dear, I don't give a damn." Gone with the Wind (1939)
|
||||||
consectetur adipiscing elit.
|
"I'm gonna make him an offer he can't refuse." The Godfather (1972)
|
||||||
|
"Toto, I've a feeling we're not in Kansas anymore." The Wizard of Oz (1939)
|
||||||
{{</* /typeit */>}}
|
{{</* /typeit */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin
|
||||||
|
|
||||||
<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/>
|
||||||
|
|
||||||
## Figure
|
## Figure
|
||||||
|
|
||||||
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
||||||
|
@ -421,10 +440,10 @@ The input is written in Markdown so you can format it however you please.
|
||||||
**Example1 :**
|
**Example1 :**
|
||||||
|
|
||||||
```md
|
```md
|
||||||
{{</* keyword */>}} Super skill {{</* /keyword */>}}
|
{{</* keyword */>}} *Super* skill {{</* /keyword */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< keyword >}} *Standalone* skill {{< /keyword >}}
|
{{< keyword >}} *Super* skill {{< /keyword >}}
|
||||||
|
|
||||||
**Example2 :**
|
**Example2 :**
|
||||||
|
|
||||||
|
@ -745,8 +764,9 @@ consectetur adipiscing elit.
|
||||||
breakLines=false
|
breakLines=false
|
||||||
loop=true
|
loop=true
|
||||||
*/>}}
|
*/>}}
|
||||||
Lorem ipsum dolor sit amet,
|
"Frankly, my dear, I don't give a damn." Gone with the Wind (1939)
|
||||||
consectetur adipiscing elit.
|
"I'm gonna make him an offer he can't refuse." The Godfather (1972)
|
||||||
|
"Toto, I've a feeling we're not in Kansas anymore." The Wizard of Oz (1939)
|
||||||
{{</* /typeit */>}}
|
{{</* /typeit */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin
|
||||||
|
|
||||||
<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/>
|
||||||
|
|
||||||
## Figure
|
## Figure
|
||||||
|
|
||||||
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
|
||||||
|
@ -361,25 +380,6 @@ 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.
|
||||||
|
|
|
@ -214,6 +214,25 @@ data: {
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
|
## Codeberg Card
|
||||||
|
|
||||||
|
`codeberg` 允许您通过 Codeberg API 快速链接 Codeberg 存储库,提供星号和分叉等统计信息的实时更新.
|
||||||
|
|
||||||
|
<!-- prettier-ignore-start -->
|
||||||
|
| Parameter | Description |
|
||||||
|
| --------- | ----------------------------------------------------- |
|
||||||
|
| `repo` | [String] Codeberg 存储库的格式为 `username/repo` |
|
||||||
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
**Example 1:**
|
||||||
|
|
||||||
|
```md
|
||||||
|
{{</* codeberg repo="forgejo/forgejo" */>}}
|
||||||
|
```
|
||||||
|
{{< codeberg repo="forgejo/forgejo" >}}
|
||||||
|
|
||||||
|
<br/><br/><br/>
|
||||||
|
|
||||||
## Figure
|
## Figure
|
||||||
|
|
||||||
Blowfish 包含一个 `figure` 简码,用于将图像添加到内容中。该简码取代了基本的 Hugo 功能,且性能更好。
|
Blowfish 包含一个 `figure` 简码,用于将图像添加到内容中。该简码取代了基本的 Hugo 功能,且性能更好。
|
||||||
|
|
Loading…
Add table
Reference in a new issue