Can you use a user macro inline in 5.1?

I have a macro that can be used in a wiki markup block like this:

This is one line {mymacro}some words{mymacro} and everything continues.

It outputs this is a single line, with the macro getting to do its stuff to "some words".

But when I use the macro in the normal way, via the macro browser, the editor ends up putting the macro on its own llne , so it ends up like this:

This is one line
some words
and everything continues.

Is there a way to insert a macro in Confluence 5.1 so new paragraphs aren't created?

2 answers

1 accepted

Found the answer -- the user needs to set it to display inline. There's a little image when you select a macro in the editor, and it has two icons that I didn't understand -- one sets the macro to be inline, the other sets it block. There's no way to programatically declare that the macro is inline.

I am using the cloud version and can't find the icons or any way to change this - screenshot anyone?

Steven Behnke Community Champion Jan 20, 2015

To answer this question, there's no way a Cloud instance can utilize Usermacros, since they are restricted functions on Cloud.

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
Published 5 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

17 views 0 3
Read article

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