Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add custom icon to my confluence macro

Aristoteles
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2017

Hi,

I created my macro and I'm trying to have a self-made icon to shown when you search for the macro  in the macros search bar. So far I have added these lines in my atlassian-plugin.xml but doesnt work. Any idea?

<resource    name="images/"      key="icons"        location="images"/>

<xhtml-macro ..... icon="/download/resources/com.atlassian.tutorial.myConfluenceMacro/images/pluginIcon1.png">

1 answer

0 votes
Don Willis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2018

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events