docs: fix incomplete tab examples

This commit is contained in:
Sören Weber 2023-08-13 01:24:17 +02:00
parent df49cdd3ef
commit 67f94a9921
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -60,6 +60,14 @@ printf("Hello World!");
### Single Code Block with Collapsed Margins
````go
{{%/* tab title="Code" */%}}
```python
printf("Hello World!");
```
{{%/* /tab */%}}
````
{{% tab title="Code" %}}
```python
@ -70,9 +78,18 @@ printf("Hello World!");
### Mixed Markdown Content
````go
{{%/* tab title="_**Mixed**_" */%}}
A tab can not only contain code but arbitrary text. In this case text **and** code will get a margin.
```python
printf("Hello World!");
```
{{%/* /tab */%}}
````
{{% 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.
```python
printf("Hello World!");