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">
You're missing a `type="download"`.
Here's a link to a duplicate question that has an answer: https://community.atlassian.com/t5/Answers-Developer-Questions/Icon-for-my-xhtml-macro/qaq-p/569559
And one to the documentation: https://developer.atlassian.com/server/confluence/including-information-in-your-macro-for-the-macro-browser/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.