mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-12 08:54:08 +00:00
173 lines
2.6 KiB
Markdown
173 lines
2.6 KiB
Markdown
|
+++
|
||
|
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 >}}
|
||
|
{{% tab name="python" %}}
|
||
|
```python
|
||
|
print("Hello World!")
|
||
|
```
|
||
|
{{% /tab %}}
|
||
|
{{% tab name="bash" %}}
|
||
|
```bash
|
||
|
echo "Hello World!"
|
||
|
```
|
||
|
{{% /tab %}}
|
||
|
{{< /tabs >}}
|
||
|
|
||
|
{{< tabs >}}
|
||
|
{{% tab name="python" %}}
|
||
|
```python
|
||
|
print("Hello World!")
|
||
|
```
|
||
|
{{% /tab %}}
|
||
|
{{% tab name="bash" %}}
|
||
|
```bash
|
||
|
echo "Hello World!"
|
||
|
```
|
||
|
{{% /tab %}}
|
||
|
{{< /tabs >}}
|
||
|
|
||
|
- three
|