Admonition paragraphs

TIP, NOTE, IMPORTANT, WARNING and CAUTION admonishment paragraph styles are generated by placing NOTE:, TIP:, IMPORTANT:, WARNING: or CAUTION: as the first word of the paragraph.

Since version 1.2.0, admonitionblock used alert-block Twitter Bootstrap styles. With support of icons font, it’s now time to change the behavior and default styles.

To compare three render categories, we will use the same file source
[https://raw.github.com/llaville/asciidoc-bootstrap-backend/master/docs/admonition-samples.asciidoc]
.

Using text captions

By default the AsciiDoc HTML backends generate text captions instead of admonition icon image links.

See what it look like without images or icons font symbols.

Using images

By default the AsciiDoc HTML backends generate text captions instead of admonition icon image links. To generate links to icon images define the icons attribute, for example using the -a icons command-line option.

As AsciiDoc, this backend will have the same default behavior.

See what it look like.

Using icons font

Since version 3.1.0, admonitionblock may optionally used icons font to draw icons. To generate links to icons font symbols define the iconsfont attribute.

Remember that you can use any of icons font support by the backend.

See what it look like with Font-Awesome.