mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 18:51:54 +02:00
docs: fix codeimporter docs example
This commit is contained in:
parent
6b4480ae83
commit
8a710a5f1a
4 changed files with 14 additions and 14 deletions
|
@ -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. |
|
| `url` | **Required** URL to an externally hosted code file. |
|
||||||
| `type` | Code type used for syntax highlighting. |
|
| `type` | Code type used for syntax highlighting. |
|
||||||
| `startLine` | Optional. The line number to start the import from. |
|
| `startLine` | **Optional** The line number to start the import from. |
|
||||||
| `endLine` | Optional. The line number to end the import at. |
|
| `endLine` | **Optional** The line number to end the import at. |
|
||||||
|
|
||||||
|
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
@ -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" >}}
|
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
|
||||||
|
|
||||||
```md
|
```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" */>}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< 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">}}
|
||||||
|
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
|
@ -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. |
|
| `url` | **Required** URL to an externally hosted code file. |
|
||||||
| `type` | Code type used for syntax highlighting. |
|
| `type` | Code type used for syntax highlighting. |
|
||||||
| `startLine` | Optional. The line number to start the import from. |
|
| `startLine` | **Optional** The line number to start the import from. |
|
||||||
| `endLine` | Optional. The line number to end the import at. |
|
| `endLine` | **Optional** The line number to end the import at. |
|
||||||
|
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
@ -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" >}}
|
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
|
||||||
|
|
||||||
```md
|
```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" */>}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< 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">}}
|
||||||
|
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
|
@ -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. |
|
| `url` | **Required** URL to an externally hosted code file. |
|
||||||
| `type` | Code type used for syntax highlighting. |
|
| `type` | Code type used for syntax highlighting. |
|
||||||
| `startLine` | Optional. The line number to start the import from. |
|
| `startLine` | **Optional** The line number to start the import from. |
|
||||||
| `endLine` | Optional. The line number to end the import at. |
|
| `endLine` | **Optional** The line number to end the import at. |
|
||||||
|
|
||||||
|
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
@ -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" >}}
|
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
|
||||||
|
|
||||||
```md
|
```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" */>}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< 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">}}
|
||||||
|
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
|
@ -214,11 +214,11 @@ data: {
|
||||||
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
|
{{< codeimporter url="https://raw.githubusercontent.com/nunocoracao/blowfish/main/layouts/shortcodes/mdimporter.html" type="go" >}}
|
||||||
|
|
||||||
```md
|
```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" */>}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< 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">}}
|
||||||
|
|
||||||
|
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue