$Foswiki::cfg{JQueryPlugin}{IconFonts}
setting if not already present:
$Foswiki::cfg{JQueryPlugin}{IconFonts} = { ... 'tabler' => { 'prefix' => 'ti', 'definition' => '$Foswiki::cfg{PubDir}/$Foswiki::cfg{SystemWebName}/WebFontsContrib/tabler-icons/tabler-icons.json', 'css' => '$Foswiki::cfg{PubUrlPath}/$Foswiki::cfg{SystemWebName}/WebFontsContrib/tabler-icons/font-face.css', }, ... };This will register the
ti
prefix to refer to the given icon definition so that below call to %JQICON will load the appropriate
css and font files:
You type:
%JQICON{"ti-alert-circle"}%You get (if installed): where
ti-alert-circle
is the name of an icon. See the full list of all icons below.