mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-16 18:00:39 +00:00
31 lines
993 B
Markdown
31 lines
993 B
Markdown
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] */>}}
|
|
**Markdown content**
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
{{</* /hint */>}}
|
|
```
|
|
|
|
## Example
|
|
|
|
{{< hint info >}}
|
|
**Markdown content**
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
{{< /hint >}}
|
|
|
|
{{< hint warning >}}
|
|
**Markdown content**
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
{{< /hint >}}
|
|
|
|
{{< hint danger >}}
|
|
**Markdown content**
|
|
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
|
|
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
|
|
{{< /hint >}}
|