58f8935d1e
Solve this problem: https://github.com/alex-shpak/hugo-book/issues/352 The Reason: https://github.com/gohugoio/hugo/issues/8688
32 lines
1,012 B
Markdown
32 lines
1,012 B
Markdown
# Hints
|
|
|
|
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 >}}
|