Callout shortcode
Aug 5, 2023
One minute
Check it out, heyo has callouts now!
How to use it
{{<
callout
kind="info"
title="Here's something you should probably know"
content="Even light has a speed"
>}}
We have some pre-configured values for kind
. But it’s also possible to customize them!
Kinds
Info
Here’s something you should probably know
Even light has a speed
Question
What is it?
Note that content
can be empty.
Success
The speed of lights is exactly equal to $c$
The title
can be empty, too.
Alert
Stop messing with me!
Just tell me the value
Nope
Nope
You should do some research
Note
Research
The speed of lights is exactly equal to 299,792,458 m/s
Feel free to suggest new ones here!
Customized
You can customize the callout by choosing your own Font Awesome icon and color. All you need to do is add icon
and color
to the shortcode.
Example
{{< callout
title="Research"
content="The speed of lights is _exactly equal_ to 299,792,458 m/s"
icon="fas fa-atom"
color="linear-gradient(95deg, #9198e5, #e66465)"
>}}
Will be rendered as:
Research
The speed of lights is exactly equal to 299,792,458 m/s