docs: remove tabs deprecation warning #550

This commit is contained in:
Sören Weber 2023-06-05 23:20:37 +02:00
parent d68a80d1d4
commit 84a884e353
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
16 changed files with 81 additions and 81 deletions

View file

@ -16,14 +16,14 @@ Since Hugo {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.112
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* attachments sort="asc" /*/%}} {{%/* attachments sort="asc" /*/%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/attachments.html" (dict {{ partial "shortcodes/attachments.html" (dict

View file

@ -16,7 +16,7 @@ The `badge` shortcode displays little markers in your text with adjustable color
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* badge %}}Important{{% /badge */%}} {{%/* badge %}}Important{{% /badge */%}}
@ -27,7 +27,7 @@ While the examples are using shortcodes with named parameter you are free to als
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/badge.html" (dict {{ partial "shortcodes/badge.html" (dict

View file

@ -13,7 +13,7 @@ The `button` shortcode displays a clickable button with adjustable color, title
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* button href="https://gohugo.io/" %}}Get Hugo{{% /button */%}} {{%/* button href="https://gohugo.io/" %}}Get Hugo{{% /button */%}}
@ -21,7 +21,7 @@ While the examples are using shortcodes with named parameter you are free to als
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/button.html" (dict {{ partial "shortcodes/button.html" (dict

View file

@ -13,14 +13,14 @@ The `children` shortcode lists the child pages of the current page and its desce
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* children sort="weight" */%}} {{%/* children sort="weight" */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/children.html" (dict {{ partial "shortcodes/children.html" (dict

View file

@ -28,21 +28,21 @@ This only works in modern browsers flawlessly. While Internet Explorer 11 has is
While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* expand title="Expand me..." */%}}Thank you!{{%/* /expand */%}} {{%/* expand title="Expand me..." */%}}Thank you!{{%/* /expand */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode (positional)" %}} {{% tab title="shortcode (positional)" %}}
````go ````go
{{%/* expand "Expand me..." */%}}Thank you!{{%/* /expand */%}} {{%/* expand "Expand me..." */%}}Thank you!{{%/* /expand */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/expand.html" (dict {{ partial "shortcodes/expand.html" (dict

View file

@ -15,7 +15,7 @@ The `icon` shortcode displays icons using the [Font Awesome](https://fontawesome
While the examples are using shortcodes with positional parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with positional parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* icon icon="exclamation-triangle" */%}} {{%/* icon icon="exclamation-triangle" */%}}
@ -24,7 +24,7 @@ While the examples are using shortcodes with positional parameter you are free t
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode (positional)" %}} {{% tab title="shortcode (positional)" %}}
````go ````go
{{%/* icon exclamation-triangle */%}} {{%/* icon exclamation-triangle */%}}
@ -33,7 +33,7 @@ While the examples are using shortcodes with positional parameter you are free t
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/icon.html" (dict {{ partial "shortcodes/icon.html" (dict

View file

@ -10,21 +10,21 @@ The `include` shortcode includes other files from your project inside of the cur
While the examples are using shortcodes with named parameter you are free to use positional aswell or also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to use positional aswell or also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* include file="shortcodes/INCLUDE_ME.md" */%}} {{%/* include file="shortcodes/INCLUDE_ME.md" */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode (positional)" %}} {{% tab title="shortcode (positional)" %}}
````go ````go
{{%/* include "shortcodes/INCLUDE_ME.md" */%}} {{%/* include "shortcodes/INCLUDE_ME.md" */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/include .html" (dict {{ partial "shortcodes/include .html" (dict

View file

@ -24,7 +24,7 @@ To use codefence syntax you have to turn off `guessSyntax` for the `markup.highl
{{% /notice %}} {{% /notice %}}
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="codefence" %}} {{% tab title="codefence" %}}
````md ````md
```math { align="center" } ```math { align="center" }
@ -33,7 +33,7 @@ $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{</* math align="center" */>}} {{</* math align="center" */>}}
@ -42,7 +42,7 @@ $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/math.html" (dict {{ partial "shortcodes/math.html" (dict

View file

@ -30,7 +30,7 @@ To use codefence syntax you have to turn off `guessSyntax` for the `markup.highl
{{% /notice %}} {{% /notice %}}
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="codefence" %}} {{% tab title="codefence" %}}
````md ````md
```mermaid { align="center" zoom="true" } ```mermaid { align="center" zoom="true" }
@ -41,7 +41,7 @@ graph LR;
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{</* mermaid align="center" zoom="true" */>}} {{</* mermaid align="center" zoom="true" */>}}
@ -52,7 +52,7 @@ graph LR;
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/mermaid.html" (dict {{ partial "shortcodes/mermaid.html" (dict

View file

@ -14,7 +14,7 @@ It is all about the boxes.
While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* notice style="primary" title="There may be pirates" icon="skull-crossbones" */%}} {{%/* notice style="primary" title="There may be pirates" icon="skull-crossbones" */%}}
@ -23,7 +23,7 @@ It is all about the boxes.
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode (positional)" %}} {{% tab title="shortcode (positional)" %}}
````go ````go
{{%/* notice primary "There may be pirates" "skull-crossbones" */%}} {{%/* notice primary "There may be pirates" "skull-crossbones" */%}}
@ -32,7 +32,7 @@ It is all about the boxes.
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/notice.html" (dict {{ partial "shortcodes/notice.html" (dict

View file

@ -14,14 +14,14 @@ This only works in modern browsers.
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{</* openapi src="https://petstore3.openapi.io/api/v3/openapi.json" */>}} {{</* openapi src="https://petstore3.openapi.io/api/v3/openapi.json" */>}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/openapi.html" (dict {{ partial "shortcodes/openapi.html" (dict

View file

@ -10,7 +10,7 @@ The `siteparam` shortcode prints values of site params.
While the examples are using shortcodes with named parameter you are free to use positional aswell or call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to use positional aswell or call this shortcode from your own partials.
{{< tabs groupId="shortcode-parameter">}} {{< tabs groupId="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
@ -18,14 +18,14 @@ While the examples are using shortcodes with named parameter you are free to use
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="shortcode (positional)" %}} {{% tab title="shortcode (positional)" %}}
````go ````go
{{%/* siteparam "editURL" */%}} {{%/* siteparam "editURL" */%}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/siteparam.html" (dict {{ partial "shortcodes/siteparam.html" (dict

View file

@ -9,7 +9,7 @@ This is especially useful if you want to flag your code example with an explicit
If you want multiple tabs grouped together you can wrap your tabs into the [`tabs` shortcode]({{% relref "shortcodes/tabs" %}}). If you want multiple tabs grouped together you can wrap your tabs into the [`tabs` shortcode]({{% relref "shortcodes/tabs" %}}).
{{% tab name="c" %}} {{% tab title="c" %}}
```python ```python
printf("Hello World!"); printf("Hello World!");
@ -22,10 +22,10 @@ printf("Hello World!");
While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials. While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
{{< tabs groupid="shortcode-parameter">}} {{< tabs groupid="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{%/* tab name="c" */%}} {{%/* tab title="c" */%}}
```c ```c
printf("Hello World!"); printf("Hello World!");
``` ```
@ -33,12 +33,12 @@ printf("Hello World!");
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/tab.html" (dict {{ partial "shortcodes/tab.html" (dict
"context" . "context" .
"name" "c" "title" "c"
"content" ("```c\nprintf(\"Hello World!\")\n```" | .RenderString) "content" ("```c\nprintf(\"Hello World!\")\n```" | .RenderString)
)}} )}}
```` ````
@ -57,7 +57,7 @@ printf("Hello World!");
### Code with collapsed margins ### Code with collapsed margins
{{% tab name="Code" %}} {{% tab title="Code" %}}
```python ```python
printf("Hello World!"); printf("Hello World!");
@ -67,7 +67,7 @@ printf("Hello World!");
### Mixed content ### Mixed content
{{% tab name="_**Mixed**_" %}} {{% tab title="_**Mixed**_" %}}
A tab can not only contain code but arbitrary text. In this case text and code will get a margin. A tab can not only contain code but arbitrary text. In this case text and code will get a margin.

View file

@ -10,14 +10,14 @@ This comes in handy eg. for providing code snippets for multiple languages.
If you just want a single tab you can instead call the [`tab` shortcode]({{% relref "shortcodes/tab" %}}) standalone. If you just want a single tab you can instead call the [`tab` shortcode]({{% relref "shortcodes/tab" %}}) standalone.
{{< tabs >}} {{< tabs >}}
{{% tab name="python" %}} {{% tab title="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
@ -33,16 +33,16 @@ While the examples are using shortcodes with named parameter you are free to als
See the [`tab` shortcode]({{% relref "shortcodes/tab" %}}) for a description of the parameter for nested tabs. See the [`tab` shortcode]({{% relref "shortcodes/tab" %}}) for a description of the parameter for nested tabs.
{{< tabs groupid="shortcode-parameter">}} {{< tabs groupid="shortcode-parameter">}}
{{% tab name="shortcode" %}} {{% tab title="shortcode" %}}
````go ````go
{{</* tabs */>}} {{</* tabs */>}}
{{%/* tab name="python" */%}} {{%/* tab title="python" */%}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="bash" */%}} {{%/* tab title="bash" */%}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```
@ -51,18 +51,18 @@ echo "Hello World!"
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="partial" %}} {{% tab title="partial" %}}
````go ````go
{{ partial "shortcodes/tabs.html" (dict {{ partial "shortcodes/tabs.html" (dict
"context" . "context" .
"content" (slice "content" (slice
(dict (dict
"name" "python" "title" "python"
"content" ("```python\nprint(\"Hello World!\")\n```" | .RenderString) "content" ("```python\nprint(\"Hello World!\")\n```" | .RenderString)
) )
(dict (dict
"name" "bash" "title" "bash"
"content" ("```bash\necho \"Hello World!\"\n```" | .RenderString) "content" ("```bash\necho \"Hello World!\"\n```" | .RenderString)
) )
) )
@ -88,20 +88,20 @@ See what happens to the tab views while you select different tabs.
While pressing a tab of group A switches all tab views of group A in sync (if the tab is available), the tabs of group B are left untouched. While pressing a tab of group A switches all tab views of group A in sync (if the tab is available), the tabs of group B are left untouched.
{{< tabs >}} {{< tabs >}}
{{% tab name="Group A, Tab View 1" %}} {{% tab title="Group A, Tab View 1" %}}
````go ````go
{{</* tabs groupid="a" */>}} {{</* tabs groupid="a" */>}}
{{%/* tab name="json" */%}} {{%/* tab title="json" */%}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="_**XML**_ stuff" */%}} {{%/* tab title="_**XML**_ stuff" */%}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="properties" */%}} {{%/* tab title="properties" */%}}
```properties ```properties
Hello = World Hello = World
``` ```
@ -109,15 +109,15 @@ Hello = World
{{</* /tabs */>}} {{</* /tabs */>}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="Group A, Tab View 2" %}} {{% tab title="Group A, Tab View 2" %}}
````go ````go
{{</* tabs groupid="a" */>}} {{</* tabs groupid="a" */>}}
{{%/* tab name="json" */%}} {{%/* tab title="json" */%}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="XML stuff" */%}} {{%/* tab title="XML stuff" */%}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
@ -125,15 +125,15 @@ Hello = World
{{</* /tabs */>}} {{</* /tabs */>}}
```` ````
{{% /tab %}} {{% /tab %}}
{{% tab name="Group B" %}} {{% tab title="Group B" %}}
````go ````go
{{</* tabs groupid="b" */>}} {{</* tabs groupid="b" */>}}
{{%/* tab name="json" */%}} {{%/* tab title="json" */%}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="XML stuff" */%}} {{%/* tab title="XML stuff" */%}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
@ -147,17 +147,17 @@ Hello = World
#### Group A, Tab View 1 #### Group A, Tab View 1
{{< tabs groupid="tab-example-a" >}} {{< tabs groupid="tab-example-a" >}}
{{% tab name="json" %}} {{% tab title="json" %}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="_**XML**_ stuff" %}} {{% tab title="_**XML**_ stuff" %}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="properties" %}} {{% tab title="properties" %}}
```ini ```ini
Hello = World Hello = World
``` ```
@ -167,12 +167,12 @@ Hello = World
#### Group A, Tab View 2 #### Group A, Tab View 2
{{< tabs groupid="tab-example-a" >}} {{< tabs groupid="tab-example-a" >}}
{{% tab name="json" %}} {{% tab title="json" %}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="XML stuff" %}} {{% tab title="XML stuff" %}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
@ -182,12 +182,12 @@ Hello = World
#### Group B #### Group B
{{< tabs groupid="tab-example-b" >}} {{< tabs groupid="tab-example-b" >}}
{{% tab name="json" %}} {{% tab title="json" %}}
```json ```json
{ "Hello": "World" } { "Hello": "World" }
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="XML stuff" %}} {{% tab title="XML stuff" %}}
```xml ```xml
<Hello>World</Hello> <Hello>World</Hello>
``` ```
@ -200,30 +200,30 @@ In case you want to nest tabs, the parent tab that contains the subtabs needs to
````go ````go
{{</* tabs groupid="main" */>}} {{</* tabs groupid="main" */>}}
{{</* tab name="Text" */>}} {{</* tab title="Text" */>}}
Simple text is possible here... Simple text is possible here...
{{</* tabs groupid="tabs-example-language" */>}} {{</* tabs groupid="tabs-example-language" */>}}
{{%/* tab name="python" */%}} {{%/* tab title="python" */%}}
Python is **super** easy. Python is **super** easy.
- most of the time. - most of the time.
- if you don't want to output unicode - if you don't want to output unicode
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="bash" */%}} {{%/* tab title="bash" */%}}
Bash is for **hackers**. Bash is for **hackers**.
{{%/* /tab */%}} {{%/* /tab */%}}
{{</* /tabs */>}} {{</* /tabs */>}}
{{</* /tab */>}} {{</* /tab */>}}
{{</* tab name="Code" */>}} {{</* tab title="Code" */>}}
...but no markdown ...but no markdown
{{</* tabs groupid="tabs-example-language" */>}} {{</* tabs groupid="tabs-example-language" */>}}
{{%/* tab name="python" */%}} {{%/* tab title="python" */%}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{%/* /tab */%}} {{%/* /tab */%}}
{{%/* tab name="bash" */%}} {{%/* tab title="bash" */%}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```
@ -234,30 +234,30 @@ In case you want to nest tabs, the parent tab that contains the subtabs needs to
```` ````
{{< tabs groupid="main" >}} {{< tabs groupid="main" >}}
{{< tab name="Text" >}} {{< tab title="Text" >}}
Simple text is possible here... Simple text is possible here...
{{< tabs groupid="tabs-example-language" >}} {{< tabs groupid="tabs-example-language" >}}
{{% tab name="python" %}} {{% tab title="python" %}}
Python is **super** easy. Python is **super** easy.
- most of the time. - most of the time.
- if you don't want to output unicode - if you don't want to output unicode
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
Bash is for **hackers**. Bash is for **hackers**.
{{% /tab %}} {{% /tab %}}
{{< /tabs >}} {{< /tabs >}}
{{< /tab >}} {{< /tab >}}
{{< tab name="Code" >}} {{< tab title="Code" >}}
...but no markdown ...but no markdown
{{< tabs groupid="tabs-example-language" >}} {{< tabs groupid="tabs-example-language" >}}
{{% tab name="python" %}} {{% tab title="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```

View file

@ -144,12 +144,12 @@ title = "Lists"
- one - one
- two - two
- {{< tabs >}} - {{< tabs >}}
{{% tab name="python" %}} {{% tab title="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```
@ -157,12 +157,12 @@ title = "Lists"
{{< /tabs >}} {{< /tabs >}}
{{< tabs >}} {{< tabs >}}
{{% tab name="python" %}} {{% tab title="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```

View file

@ -144,12 +144,12 @@ graph LR;
| i | | i |
|---| |---|
| {{< tabs >}} | {{< tabs >}}
{{% tab name="python" %}} {{% tab title="python" %}}
```python ```python
print("Hello World!") print("Hello World!")
``` ```
{{% /tab %}} {{% /tab %}}
{{% tab name="bash" %}} {{% tab title="bash" %}}
```bash ```bash
echo "Hello World!" echo "Hello World!"
``` ```