Currently FontAwesome 4 is used in:
-
admonition
-
callout
-
icon macro
-
colist
-
unordered list (checked, unchecked)
-
menu macro (angle-right)
In each of those cases, we check if the attribute icons equals font to enable FontAwesome.
Otherwise we either use unicode characters or images.
-
client-side using CSS with a custom font
-
client-side using JavaScript (replace an HTML element by an inline SVG image)
-
server-side using
<img>or<svg>element
When using server-side rendering we can either use a src attribute to reference the path to the image or inline the image (with base64 or inline svg).
-
imagesdir(default./images) -
iconsdir(default$imagesdir/icons) -
icontype(defaultpng) -
icons