How can I save an edited default macro like codeblock for users?

Hi Community,

as a newbie I have two questions:

While editing a page when I start content with { I can jump into the makrobrowser, choose CODEBLOCK, insert the desired parameters and get it into the page.

Is there a way to

a) save those special edited codeblock e.g. under a new name to have it handy the next time I want to use it or do I have to go this way every time when I insert a similiar codeblock?

b) How do I get this saved & customized macro codeblock_userdefined into the dropdown-list when I type in a {

Thanks for your support,

Marcus

2 answers

1 accepted

1 vote
Joseph Clark Atlassian Team Dec 28, 2011

Specifically with the {code} macro, there is functionality built in to the Confluence Admin Console that allows you to change the default behaviour of the macro for all users:

0 vote

You should be able to achieve this with User Macros.

See http://confluence.atlassian.com/display/DOC/Writing+User+Macros and related pages for more info on this.

Cheers,
Mark

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

613 views 18 16
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you