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 [5].
By default the AsciiDoc HTML backends generate text captions instead of admonition icon image links.
See Chapter 12, Admonition Paragraphs using text what it look like without images or icons font symbols.
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 Chapter 13, Admonition Paragraphs using icons images what it look like.
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.
-a iconsfont=glyphicon
-a iconsfont=font-awesome
-a iconsfont=ionicons
-a iconsfont=octicons
See Chapter 14, Admonition Paragraphs using Icons Font what it look like with Font-Awesome.