Alert Boxes =========== You can create alert boxes of various kinds using the CSS classes `admonition`, `warning`, `tip`, `note`, `seealso` and `todo`. These are meant to be similar to [Bootstrap's alerts](https://getbootstrap.com/docs/4.1/components/alerts/), [Semantic UI's messages](https://semantic-ui.com/collections/message.html), or the various [admonitions](http://docutils.sourceforge.net/docs/ref/rst/directives.html#attention) and [see also's](https://www.sphinx-doc.org/en/master/extdev/nodes.html?highlight=admonition#sphinx.addnodes.seealso) etc provided by reStructuredText and Sphinx. To use an alert write a `
` with a CSS class on it, like this: ```html
This is a note.
``` If you want to use Markdown rather than raw HTML inside the `
` then add a `markdown="1"` attribute to it: ```html
Now I can use things like Markdown `code` and [links](example.com).
``` Here are all the available styles:
This is a generic admonition.
This is a warning box. Also known as an `attention`, `caution`, `danger`, `error`, or `important` box.
This is a `tip` or `hint` box.
This is a note.
This is a seealso.
This is a todo.
All of the alert box styles have special colors for links:
This is a generic admonition [with a link](example.com) in it.
This is a warning [with a link](example.com) in it.
This is a tip or hint [with a link](example.com) in it.
This is a note [with a link](example.com) in it.
This is a seealso [with a link](example.com) in it.
This is a todo [with a link](example.com) in it.
You can put arbitrary HTML inside alert boxes (remember your `markdown="1"` if using Markdown):
### Todo > * List item one > * List item two > * List item three * * * Aliquam eu quam blandit, condimentum velit nec, hendrerit urna.