Macro or shortcut to do repetitive tasks


I am looking for a way to create a macro or a shortcut for repetitive tasks. As an example, I would like to define a basic structure for a table. This table can have multiple rows and columns but should have at least some pre-defined ones. On top of this, this macro should also add an anchor for easy reference.

It should be possible to add/remove columns and modify text after the instantiation of the macro.

So far, my experience with macros have been a failure in the sense that macros do not display their result structures but a box representing the code. Only when the page is redered does it shows. This does not allow me to add/remove rows or columns etc.

It would more look like a template but with a shortcut like a macro... How can one do this?


1 answer

Okay, I think what I want is to render a macro directly in the editor. That would be the proper way to say what I want to achieve.

So how do we write a macro that renders in the editor (looses its macro attribute and becomes pure HTML).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,015 views 51 8
Join discussion

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