🔍
Custom Shortcodes

Allover comes with a couple of shortcodes that I find quite useful, and perhaps you will too.

Captions

Markdown-capable image captions, for if you don’t want to use {{< figure >}}:

Because captions are independent of what they’re captions, you can use them for codeblocks, video embeds, and anything else you want, not just images.

You can create create captions like this:

{{% caption "Caption text." %}}

Hint boxes

You can intersperse your text bodies with nice pale yellow inline “hint boxes” with a sans-serif font. These can be short notes…

…or long sidebars with their own complex formatting.

The syntax for hint boxes looks like this:

{{% hint-box %}}
**Warning**: It is very dangerous to run with scissors.
{{% /hint-box %}}