mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2324 from ZhenShuo2021/fix/gist-corb
🐛 Fix: gist CORB error
This commit is contained in:
@@ -383,6 +383,7 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
|||||||
{{</* gist "octocat" "6cad326836d38bd3a7ae" */>}}
|
{{</* gist "octocat" "6cad326836d38bd3a7ae" */>}}
|
||||||
````
|
````
|
||||||
|
|
||||||
|
{{< gist "octocat" "6cad326836d38bd3a7ae" >}}
|
||||||
|
|
||||||
**Example 2: Embed specific file from Gist**
|
**Example 2: Embed specific file from Gist**
|
||||||
|
|
||||||
@@ -390,6 +391,8 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
|||||||
{{</* gist "rauchg" "2052694" "README.md" */>}}
|
{{</* gist "rauchg" "2052694" "README.md" */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{< gist "rauchg" "2052694" "README.md" >}}
|
||||||
|
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
|
|
||||||
## Gitea Card
|
## Gitea Card
|
||||||
|
|||||||
@@ -385,6 +385,7 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用
|
|||||||
{{</* gist "octocat" "6cad326836d38bd3a7ae" */>}}
|
{{</* gist "octocat" "6cad326836d38bd3a7ae" */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{< gist "octocat" "6cad326836d38bd3a7ae" >}}
|
||||||
|
|
||||||
**示例 2:嵌入 Gist 中的特定文件**
|
**示例 2:嵌入 Gist 中的特定文件**
|
||||||
|
|
||||||
@@ -392,6 +393,8 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用
|
|||||||
{{</* gist "rauchg" "2052694" "README.md" */>}}
|
{{</* gist "rauchg" "2052694" "README.md" */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{< gist "rauchg" "2052694" "README.md" >}}
|
||||||
|
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{ if len .Params | eq 3 }}
|
<script src="https://gist.github.com/{{- index .Params 0 -}}/{{- index .Params 1 -}}.js{{- if len .Params | eq 3 -}}
|
||||||
?file={{ index .Params 2 }}
|
?file={{- index .Params 2 -}}
|
||||||
{{ end }}"></script>
|
{{- end -}}"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user