ATM there’s no official way to do this. Some XWiki developers have proposed to add a notion of "icon set” in the future to support this and to make the existing icon set extensible.

Right now what you can do is add your custom icon in the [XWiki webapp root]/resources/icons/silk directory. This makes it available as any of the other icons. Note that your icon must be a PNG file ending in .png.

For example if you add a my_new_icon.png file, you'll use it as follows in XWiki Syntax 2.1:

image:icon:my_new_icon
Tags:
Created by Vincent Massol on 2014/05/15
   

Get Connected