2023-03-28 17:52:56 +00:00
|
|
|
+++
|
|
|
|
description = "Test shortcodes inside of list items"
|
|
|
|
title = "Lists"
|
|
|
|
+++
|
|
|
|
|
|
|
|
## Plain
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- two
|
|
|
|
|
|
|
|
and a half
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Attachments
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% attachments style="blue" /%}}
|
|
|
|
|
|
|
|
{{% attachments style="blue" /%}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Badge
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% badge color="fuchsia" icon="fab fa-hackerrank" %}}Awesome{{% /badge %}}
|
|
|
|
|
|
|
|
{{% badge color="fuchsia" icon="fab fa-hackerrank" %}}Awesome{{% /badge %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Button
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% button href="https://gohugo.io/" style="warning" icon="dragon" %}}Get Hugo{{% /button %}}
|
|
|
|
|
|
|
|
{{% button href="https://gohugo.io/" style="warning" icon="dragon" %}}Get Hugo{{% /button %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Children
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% children sort="weight" %}}
|
|
|
|
|
|
|
|
{{% children sort="weight" %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Expand
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% expand title="Expand me..." %}}Thank you!{{% /expand %}}
|
|
|
|
|
|
|
|
{{% expand title="Expand me..." %}}Thank you!{{% /expand %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Icon
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% icon icon="exclamation-triangle" %}}
|
|
|
|
|
|
|
|
{{% icon icon="exclamation-triangle" %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Include
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% include file="shortcodes/INCLUDE_ME.md" %}}
|
|
|
|
|
|
|
|
{{% include file="shortcodes/INCLUDE_ME.md" %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Math
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{< math align="center" >}}
|
|
|
|
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
|
|
|
|
{{< /math >}}
|
|
|
|
|
|
|
|
{{< math align="center" >}}
|
|
|
|
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
|
|
|
|
{{< /math >}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Mermaid
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{< mermaid align="center" zoom="true" >}}
|
|
|
|
graph LR;
|
|
|
|
If --> Then
|
|
|
|
Then --> Else
|
|
|
|
{{< /mermaid >}}
|
|
|
|
|
|
|
|
{{< mermaid align="center" zoom="true" >}}
|
|
|
|
graph LR;
|
|
|
|
If --> Then
|
|
|
|
Then --> Else
|
|
|
|
{{< /mermaid >}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Notice
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% notice style="primary" title="There may be pirates" icon="skull-crossbones" %}}
|
|
|
|
It is all about the boxes.
|
|
|
|
{{% /notice %}}
|
|
|
|
|
|
|
|
{{% notice style="primary" title="There may be pirates" icon="skull-crossbones" %}}
|
|
|
|
It is all about the boxes.
|
|
|
|
{{% /notice %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Siteparam
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{% siteparam name="editURL" %}}
|
|
|
|
|
|
|
|
{{% siteparam name="editURL" %}}
|
|
|
|
|
|
|
|
- three
|
|
|
|
|
|
|
|
## Tabs
|
|
|
|
|
|
|
|
- one
|
|
|
|
- two
|
|
|
|
- {{< tabs >}}
|
2023-06-05 21:20:37 +00:00
|
|
|
{{% tab title="python" %}}
|
2023-03-28 17:52:56 +00:00
|
|
|
```python
|
|
|
|
print("Hello World!")
|
|
|
|
```
|
|
|
|
{{% /tab %}}
|
2023-06-05 21:20:37 +00:00
|
|
|
{{% tab title="bash" %}}
|
2023-03-28 17:52:56 +00:00
|
|
|
```bash
|
|
|
|
echo "Hello World!"
|
|
|
|
```
|
|
|
|
{{% /tab %}}
|
|
|
|
{{< /tabs >}}
|
|
|
|
|
|
|
|
{{< tabs >}}
|
2023-06-05 21:20:37 +00:00
|
|
|
{{% tab title="python" %}}
|
2023-03-28 17:52:56 +00:00
|
|
|
```python
|
|
|
|
print("Hello World!")
|
|
|
|
```
|
|
|
|
{{% /tab %}}
|
2023-06-05 21:20:37 +00:00
|
|
|
{{% tab title="bash" %}}
|
2023-03-28 17:52:56 +00:00
|
|
|
```bash
|
|
|
|
echo "Hello World!"
|
|
|
|
```
|
|
|
|
{{% /tab %}}
|
|
|
|
{{< /tabs >}}
|
|
|
|
|
|
|
|
- three
|