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

0 votes
Accepted answer

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
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,096 views 0 8
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