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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

929 views 13 11
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