hugo-geekdoc/exampleSite/content/shortcodes/hints.md

31 lines
1021 B
Markdown
Raw Normal View History

2020-01-12 14:33:02 +00:00
Hint shortcode can be used as hint/alerts/notification block.
There are 3 colors to choose: `info`, `warning` and `danger`.
```tpl
{{</* hint [info|warning|danger] */>}}
2020-01-16 10:40:38 +00:00
**Markdown content**\
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{</* /hint */>}}
```
## Example
{{< hint info >}}
2020-01-16 10:40:38 +00:00
**Markdown content**\
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /hint >}}
{{< hint warning >}}
2020-01-16 10:40:38 +00:00
**Markdown content**\
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /hint >}}
{{< hint danger >}}
2020-01-16 10:40:38 +00:00
**Markdown content**\
2020-05-31 16:17:32 +00: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 14:33:02 +00:00
{{< /hint >}}