Highlight Notes in the Text
Admonitions are used to emphasize certain information. There are 5 types of admonitions in AsciiDoc:
TIP:
HintWARNING:
WarningCAUTION:
CautionNOTE:
NoteIMPORTANT:
Important
Notes are displayed as text by default. However, you can also replace the note text with an icon. To do this, enter the :icons: font
attribute in the document header, i.e. above the title. All notes are now displayed as icons.
Another tip: The note text can also be changed. For example, if you do not want the admonition WARNING:
to show the word "warning", you can adjust the text using the :warning-caption: Enter text here
attribute. The same logic applies to all admonitions: :note-caption:
/ :tip-caption:
/ ...