2019-05-22 12:37:31 +00:00
|
|
|
# Expand shortcode
|
|
|
|
|
|
|
|
## Default
|
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
```tpl
|
|
|
|
{{</* expand */>}}
|
2019-05-22 12:37:31 +00:00
|
|
|
## Markdown content
|
2019-05-22 14:17:55 +00:00
|
|
|
Lorem markdownum insigne...
|
|
|
|
{{</* /expand */>}}
|
|
|
|
```
|
2019-05-22 12:37:31 +00:00
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
{{< expand >}}
|
|
|
|
## Markdown content
|
|
|
|
Lorem markdownum insigne...
|
2019-05-22 12:37:31 +00:00
|
|
|
{{< /expand >}}
|
|
|
|
|
2019-05-24 12:07:44 +00:00
|
|
|
## With Custom Label
|
2019-05-22 12:37:31 +00:00
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
```tpl
|
|
|
|
{{</* expand "Custom Label" "..." */>}}
|
2019-05-22 12:37:31 +00:00
|
|
|
## Markdown content
|
2019-05-22 14:17:55 +00:00
|
|
|
Lorem markdownum insigne...
|
|
|
|
{{</* /expand */>}}
|
|
|
|
```
|
2019-05-22 12:37:31 +00:00
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
{{< expand "Custom Label" "..." >}}
|
|
|
|
## Markdown content
|
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
2019-05-22 12:37:31 +00:00
|
|
|
{{< /expand >}}
|
|
|
|
|
|
|
|
# Tabs
|
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
```tpl
|
|
|
|
{{</* tabs "uniqueid" */>}}
|
|
|
|
{{</* tab "MacOS" */>}} # MacOS Content {{</* /tab */>}}
|
|
|
|
{{</* tab "Linux" */>}} # Linux Content {{</* /tab */>}}
|
|
|
|
{{</* tab "Windows" */>}} # Windows Content {{</* /tab */>}}
|
|
|
|
{{</* /tabs */>}}
|
|
|
|
```
|
|
|
|
|
2019-05-22 12:37:31 +00:00
|
|
|
{{< tabs "uniqueid" >}}
|
|
|
|
{{< tab "MacOS" >}}
|
|
|
|
# MacOS
|
|
|
|
|
|
|
|
This is tab **MacOS** content.
|
|
|
|
|
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
|
|
|
{{< /tab >}}
|
|
|
|
|
|
|
|
{{< tab "Linux" >}}
|
|
|
|
|
|
|
|
# Linux
|
|
|
|
|
|
|
|
This is tab **Linux** content.
|
|
|
|
|
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
|
|
|
{{< /tab >}}
|
|
|
|
|
|
|
|
{{< tab "Windows" >}}
|
|
|
|
|
|
|
|
# Windows
|
|
|
|
|
|
|
|
This is tab **Windows** content.
|
|
|
|
|
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
|
|
|
{{< /tab >}}
|
|
|
|
{{< /tabs >}}
|
2019-05-22 14:17:55 +00:00
|
|
|
|
2019-05-24 12:07:44 +00:00
|
|
|
# Columns
|
2019-05-22 14:17:55 +00:00
|
|
|
|
2019-05-23 14:30:26 +00:00
|
|
|
```html
|
|
|
|
{{</* columns */>}} <!-- begin columns block -->
|
2019-05-22 14:17:55 +00:00
|
|
|
# Left Content
|
2019-05-23 14:30:26 +00:00
|
|
|
Lorem markdownum insigne...
|
|
|
|
|
|
|
|
<---> <!-- magic sparator, between columns -->
|
|
|
|
|
|
|
|
# Mid Content
|
|
|
|
Lorem markdownum insigne...
|
|
|
|
|
|
|
|
<---> <!-- magic sparator, between columns -->
|
|
|
|
|
2019-05-22 14:17:55 +00:00
|
|
|
# Right Content
|
2019-05-23 14:30:26 +00:00
|
|
|
Lorem markdownum insigne...
|
|
|
|
{{</* /columns */>}}
|
2019-05-22 14:17:55 +00:00
|
|
|
```
|
|
|
|
|
2019-05-23 14:30:26 +00:00
|
|
|
{{< columns >}}
|
|
|
|
## Left Content
|
2019-05-22 14:17:55 +00:00
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
2019-05-23 14:30:26 +00:00
|
|
|
|
|
|
|
<--->
|
|
|
|
|
|
|
|
## Mid Content
|
2019-05-22 14:17:55 +00:00
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter!
|
2019-05-23 14:30:26 +00:00
|
|
|
|
|
|
|
<--->
|
|
|
|
|
|
|
|
## Right Content
|
2019-05-22 14:17:55 +00:00
|
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
|
|
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|
|
|
Miseratus fonte Ditis conubia.
|
2019-05-23 14:30:26 +00:00
|
|
|
{{< /columns >}}
|
|
|
|
|
|
|
|
|
2019-05-24 12:07:44 +00:00
|
|
|
# Mermaid Chart
|
2019-05-23 14:30:26 +00:00
|
|
|
|
|
|
|
{{< columns >}}
|
|
|
|
```tpl
|
|
|
|
{{</* mermaid */>}}
|
|
|
|
sequenceDiagram
|
|
|
|
Alice->>Bob: Hello Bob, how are you?
|
|
|
|
alt is sick
|
|
|
|
Bob->>Alice: Not so good :(
|
|
|
|
else is well
|
|
|
|
Bob->>Alice: Feeling fresh like a daisy
|
|
|
|
end
|
|
|
|
opt Extra response
|
|
|
|
Bob->>Alice: Thanks for asking
|
|
|
|
end
|
|
|
|
{{</* /mermaid */>}}
|
|
|
|
```
|
|
|
|
|
|
|
|
<--->
|
|
|
|
|
|
|
|
{{< mermaid >}}
|
|
|
|
sequenceDiagram
|
|
|
|
Alice->>Bob: Hello Bob, how are you?
|
|
|
|
alt is sick
|
|
|
|
Bob->>Alice: Not so good :(
|
|
|
|
else is well
|
|
|
|
Bob->>Alice: Feeling fresh like a daisy
|
|
|
|
end
|
|
|
|
opt Extra response
|
|
|
|
Bob->>Alice: Thanks for asking
|
|
|
|
end
|
|
|
|
{{< /mermaid >}}
|
|
|
|
|
|
|
|
{{< /columns >}}
|