hugo-theme-hilfe/exampleSite/content/shortcodes/hints.md

43 lines
1.3 KiB
Markdown
Raw Normal View History

---
title: Hints
---
2020-01-12 15:33:02 +01:00
Hint shortcode can be used as hint/alerts/notification block.
2020-12-22 13:45:25 +01:00
There are four colors to choose: `info`, `ok`, `warning` and `danger`.
2020-01-12 15:33:02 +01:00
<!-- prettier-ignore-start -->
2020-01-12 15:33:02 +01:00
```tpl
{{</* hint [info|warning|danger] */>}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-05-31 18:17:32 +02:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re.
2020-01-12 15:33:02 +01:00
{{</* /hint */>}}
```
<!-- prettier-ignore-end -->
2020-01-12 15:33:02 +01:00
## Example
{{< hint info >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-05-31 18:17:32 +02:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
2020-09-10 22:23:24 +02:00
Ornateness bland it ex enc, est yeti am bongo detract re.
2020-01-12 15:33:02 +01:00
{{< /hint >}}
2020-12-22 13:45:25 +01:00
{{< hint ok >}}
**Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}}
2020-01-12 15:33:02 +01:00
{{< hint warning >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-05-31 18:17:32 +02:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
2020-09-10 22:23:24 +02:00
Ornateness bland it ex enc, est yeti am bongo detract re.
2020-01-12 15:33:02 +01:00
{{< /hint >}}
{{< hint danger >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-05-31 18:17:32 +02:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture.
2020-09-10 22:23:24 +02:00
Ornateness bland it ex enc, est yeti am bongo detract re.
2020-01-12 15:33:02 +01:00
{{< /hint >}}