mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
docs: fix incomplete tab examples
This commit is contained in:
parent
df49cdd3ef
commit
67f94a9921
1 changed files with 18 additions and 1 deletions
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue