When I write user macros for our Confluence server, they appear in the macro browser by title only, with no description:
The description text only appears when the macro is selected:
I'm fairly sure the macro parameters are valid, like this:
## @param BackToTop:title=BackToTop|desc=Shows a 'Back to top' button when the user scrolls down the page
What am I missing to make the description appear in the macro browser window?
Also, the description has the inverted commas stripped out, for some reason
Everything is correct. You just described the parameter "BackToTop" and not the user macro itself.
For describing the user macro itself, you need to fill these fields:
Regards, Dominic
Oh, I get it. Each parameter has its own description, and that description is what appears near that parameter on the second screen. I was creating a parameter that did nothing.
I thought the information was parsed out of the macro file itself into the Macro Browser Information panel.
Oh well, I'll just manually type it in and set @noparams in the macro
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.