diff --git a/exampleSite/content/docs/shortcodes/index.it.md b/exampleSite/content/docs/shortcodes/index.it.md index 82cea40a..e0ef39f0 100644 --- a/exampleSite/content/docs/shortcodes/index.it.md +++ b/exampleSite/content/docs/shortcodes/index.it.md @@ -383,6 +383,7 @@ In order to add images to the gallery, use `img` tags for each image and add `cl {{}} ```` +{{< gist "octocat" "6cad326836d38bd3a7ae" >}} **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" >}} +


## Gitea Card diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index 91ec4cf5..64b854d3 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -385,6 +385,7 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用 {{}} ``` +{{< gist "octocat" "6cad326836d38bd3a7ae" >}} **示例 2:嵌入 Gist 中的特定文件** @@ -392,6 +393,8 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用 {{}} ``` +{{< gist "rauchg" "2052694" "README.md" >}} +


diff --git a/layouts/shortcodes/gist.html b/layouts/shortcodes/gist.html index a1b7ba6d..801e7b69 100644 --- a/layouts/shortcodes/gist.html +++ b/layouts/shortcodes/gist.html @@ -1,3 +1,3 @@ - +