Skip to content

Commit f802876

Browse files
authored
docs: Update tab examples in README for clarity (#15)
Signed-off-by: Artem Kladov <artem.kladov@flant.com>
1 parent fb089d4 commit f802876

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ The warning message...
6565
#### Tabs
6666

6767
```go
68-
{{< tabs >}}
69-
{{% tab "MacOS" %}} # MacOS Content {{% /tab %}}
70-
{{% tab "Linux" %}} # Linux Content {{% /tab %}}
71-
{{% tab "Windows" %}} # Windows Content {{% /tab %}}
68+
{{< tabs name="tabs_uniq_name" >}}
69+
{{% tab name="Tab caption 1" %}}Tab 1 Content {{% /tab %}}
70+
{{% tab name="Tab caption 2" %}}Tab 2 Content {{% /tab %}}
7271
{{< /tabs >}}
7372
```
7473

0 commit comments

Comments
 (0)