Display custom macro inside a specific category on macro browser

Hi Team ,

I have written up a custom macro . After installing the macro on confluence I can see the macro appearing under “ALL” category in macro browser window. I want my macro to appear under specific category like “Under External content category” on macro browser screen .

Could you please help to tell me which property i need to setup for this ? I tried to search confluence document but did not find anything relevant to this requirement.

Thanks
Nishant

You’re looking for the “category” element. Just add:

<category name="external-content" />

More info at:
https://developer.atlassian.com/server/confluence/including-information-in-your-macro-for-the-macro-browser/