Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i add a new macro on confluence cloud?

hi

how can i add a new macro on confluence cloud? , for example, "page break"...(https://confluence.atlassian.com/pages/viewpage.action?spaceKey=DISC&title=pagebreak+user+macro#pagebreakusermacro-Purelysingle-linemacro) , because this instruction is not same on the admin cloud  like in the example...

 

regards

2 answers

4 votes
James Dellow Community Leader Feb 04, 2018

It takes little more effort in Cloud, but its fairly trivial to add your own Static Content Macros - I covered this at Summit a few years ago.

You can use low-cost static content hosting options as long as they support HTTPS (you don't even need a domain).

It then only takes three files to create your macro:

  • atlassian-connect.json (the add-on configuration file)
  • An icon (image file) for your add-on
  • A text file containing your storage format code

Provision through the marketplace as a private add-on.

50% of your answer is about how easy it is to do.. and 0% is about how to actually do it.

I posted that reply in 2018. However, last year I wrote an article with a bit more detail:

https://community.atlassian.com/t5/Confluence-Cloud-articles/How-to-create-simple-custom-macros-in-Confluence-Cloud/ba-p/1227422

Particularly as things can change, bear in mind that you may still find it necessary to dip into the development documentation https://developer.atlassian.com/cloud/confluence/macros/

PS I might have a "community leader" badge, but I don't work for Atlassian.

Apologies for the tone. I was a bit frustrated, and had just gone through 20 different links about how to do it, and all were outdated or answers that didn't actually show how to do it.. Maybe I'm just used to stackoverflow. Thanks for the link, - Have a nice day!

0 votes

Hey Sebastian, 

user macros are one of the restricted features of Confluence OnDemand. Please refer to the documentation for further information:

Restricted functions in Confluence Cloud

Best,

Max

Sorry to say! :D I love writing smaller user macros and that's one of the things that keeps me away from Cloud. Additionally working with customization/CSS

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

107 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you