How do you change the way macro name shows up in the macro browser?
I want to change the Helloworld macro to show up as "Hello World" in the browser but want to be able to type { helloworld } in the page to insert it.
This is the way it works for the bundled plugins.
For example, bundled plugin { userlister } shows up as "User List" in the macro browser.
Is there a property that can be set to override the macro's display name in the macro browser?
Referring to the plugin's macro module. Not the User macro.
Solved by adding i18n-name-key to the macro element in atlassian-plugin.xml and the appropriate value in the plugin's properties file.
<xhtml-macro name="helloworld" class="com.atlassian.tutorial.macro.helloworld" key='helloworld-macro' i18n-name-key="helloworld.macro.name">
Hi @Sean Kim ,
welcome to the Atlassian community!
When you try to enter macro through { you need to add Macro Title and not Macro Name.
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.