Macro or shortcut to do repetitive tasks

Hi,

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?

Thanks

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,694 views 26 10
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