From 8a710a5f1a2b0835549d765b57314e6b3149cb60 Mon Sep 17 00:00:00 2001 From: jason810496 <810496@email.wlsh.tyc.edu.tw> Date: Sat, 22 Jun 2024 00:10:40 +0800 Subject: [PATCH] docs: fix codeimporter docs example --- exampleSite/content/docs/shortcodes/index.it.md | 8 ++++---- exampleSite/content/docs/shortcodes/index.ja.md | 8 ++++---- exampleSite/content/docs/shortcodes/index.md | 8 ++++---- exampleSite/content/docs/shortcodes/index.zh-cn.md | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/exampleSite/content/docs/shortcodes/index.it.md b/exampleSite/content/docs/shortcodes/index.it.md index 1370a69a..4102673b 100644 --- a/exampleSite/content/docs/shortcodes/index.it.md +++ b/exampleSite/content/docs/shortcodes/index.it.md @@ -197,8 +197,8 @@ This shortcode is for importing code from external sources easily without copyin | --------- | ------------------------------------------------------- | | `url` | **Required** URL to an externally hosted code file. | | `type` | Code type used for syntax highlighting. | -| `startLine` | Optional. The line number to start the import from. | -| `endLine` | Optional. The line number to end the import at. | +| `startLine` | **Optional** The line number to start the import from. | +| `endLine` | **Optional** The line number to end the import at. | @@ -213,11 +213,11 @@ This shortcode is for importing code from external sources easily without copyin {{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}} ```md -{{}} +{{}} ``` -{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="c" startLine="11" endLine="18">}} +{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="toml" startLine="11" endLine="18">}}

diff --git a/exampleSite/content/docs/shortcodes/index.ja.md b/exampleSite/content/docs/shortcodes/index.ja.md index ac93cb85..a93cc237 100644 --- a/exampleSite/content/docs/shortcodes/index.ja.md +++ b/exampleSite/content/docs/shortcodes/index.ja.md @@ -197,8 +197,8 @@ This shortcode is for importing code from external sources easily without copyin | --------- | ------------------------------------------------------- | | `url` | **Required** URL to an externally hosted code file. | | `type` | Code type used for syntax highlighting. | -| `startLine` | Optional. The line number to start the import from. | -| `endLine` | Optional. The line number to end the import at. | +| `startLine` | **Optional** The line number to start the import from. | +| `endLine` | **Optional** The line number to end the import at. | @@ -212,11 +212,11 @@ This shortcode is for importing code from external sources easily without copyin {{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}} ```md -{{}} +{{}} ``` -{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="c" startLine="11" endLine="18">}} +{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="toml" startLine="11" endLine="18">}}

diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index d8a3cb7b..29cb834b 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -197,8 +197,8 @@ This shortcode is for importing code from external sources easily without copyin | --------- | ------------------------------------------------------- | | `url` | **Required** URL to an externally hosted code file. | | `type` | Code type used for syntax highlighting. | -| `startLine` | Optional. The line number to start the import from. | -| `endLine` | Optional. The line number to end the import at. | +| `startLine` | **Optional** The line number to start the import from. | +| `endLine` | **Optional** The line number to end the import at. | @@ -213,11 +213,11 @@ This shortcode is for importing code from external sources easily without copyin {{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}} ```md -{{}} +{{}} ``` -{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="c" startLine="11" endLine="18">}} +{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="toml" startLine="11" endLine="18">}}

diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index 2696eeff..25bc4cdb 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -214,11 +214,11 @@ data: { {{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}} ```md -{{}} +{{}} ``` -{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="c" startLine="11" endLine="18">}} +{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/config/_default/hugo.toml" type="toml" startLine="11" endLine="18">}}