mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 05:40:39 +00:00
Robert Kaussow
5c22ce57dc
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
43 lines
1.3 KiB
Markdown
43 lines
1.3 KiB
Markdown
---
|
|
title: Hints
|
|
---
|
|
|
|
Hint shortcode can be used as hint/alerts/notification block.
|
|
There are four colors to choose: `info`, `ok`, `warning` and `danger`.
|
|
|
|
<!-- prettier-ignore-start -->
|
|
```tpl
|
|
{{</* hint [info|ok|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 */>}}
|
|
```
|
|
<!-- prettier-ignore-end -->
|
|
|
|
## 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 >}}
|