Use the following “admonition” styles to call out special information.
This markdown:
Here's a handy tip that may help you out.
{: .tip }
Yields:
Here’s a handy tip that may help you out.
Unfortunately, this only works for single-line markdown (i.e. a basic paragraph). If you need to use something like a bullet list in an admonition, you have to use a hack like this:
Do it this way:<br/><br/>**•** Step one. <br/>**•** Step two. <br/>**•** Step three.
{: .tip }
Do it this way:
• Step one.
• Step two.
• Step three.
Unfortunately, just using a div
doesn’t work that well (I’m sure there’s some CSS that could fix this):
Do it this way:
This markdown:
Here's some useful information.
{: .info }
Yields:
Here’s some useful information.
This markdown:
Take note; this is some information you need.
{: .note }
Yields:
Take note; this is some information you need.
This markdown:
Danger, Will Robinson! This is a warning you should heed.
{: .warning }
Yields:
Danger, Will Robinson! This is a warning you should heed.