mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-10 23:10:42 +00:00
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
Hint shortcode can be used as hint/alerts/notification block.
|
|
There are four colors to choose: `info`, `ok`, `warning` and `danger`.
|
|
|
|
```tpl
|
|
{{</* hint [info|warning|danger] */>}}
|
|
**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 */>}}
|
|
```
|
|
|
|
## Example
|
|
|
|
{{< hint info >}}
|
|
**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 >}}
|
|
|
|
{{< 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 >}}
|
|
|
|
{{< hint warning >}}
|
|
**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 >}}
|
|
|
|
{{< hint danger >}}
|
|
**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 >}}
|