hugo-theme-hilfe/exampleSite/content/shortcodes/hints.md

31 lines
997 B
Markdown
Raw Normal View History

2020-01-12 15:33:02 +01: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 11:40:38 +01:00
**Markdown content**\
2020-01-12 15:33:02 +01:00
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
{{</* /hint */>}}
```
## Example
{{< hint info >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-01-12 15:33:02 +01:00
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
{{< /hint >}}
{{< hint warning >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-01-12 15:33:02 +01:00
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
{{< /hint >}}
{{< hint danger >}}
2020-01-16 11:40:38 +01:00
**Markdown content**\
2020-01-12 15:33:02 +01:00
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
{{< /hint >}}