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

Where is the stlye- and div-macro?

Lukas Naef October 22, 2019

Hi There

I did some formatting for proper PDF exports with the style-macro. Now after the update to the new design in the confluence cloud, I miss the macros "Style" and "Div".

Where is it? Do they have a new name? Are there any other possibilities?

I know, there are plugins to do more advanced PDFs but we have some boundaries to the budget I'm not allowed to break.

Thx for your inputs!

4 answers

1 accepted

1 vote
Answer accepted
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2019

Hello, @Lukas Naef ! Thanks for sharing your needs with the community.

I would like to start by stating that, in fact, both Style and Div macros have been deprecated. They were not renamed or replaced. We can get more information about it here:

 

Currently, there is no native alternative that replaces those macros. We can send our feedback about this removal here:

For PDF formatting, the Atlassian Marketplace does have some options that might help your situation. Here, have a look:

As a first step, my advice is that you provide your feedback about the removal of both macros on the report linked above. Also, try to watch and vote for the reports. Voting can help to increase the report visibility and watching will update you whenever something new happens there!

So, Lukas, I hope this sheds some light on the current situation of those macros.

Looking forward to your reply.

Lukas Naef October 23, 2019

Hi @Diego , thank you very much for your answer.

That's what I was afraid of. Of course I can provide my feedback to the pages, but it does not solve our problem in a timely manner.

We are now forced to write the documentation in word (All the documentations we need as a proper pdf). In my opinion it is not really fair to remove features for which there are no alternatives.

I think I will reopen a new question to the community to get best practices about getting a proper formatted document out of the new cloud solution. The main points were:

  • Style-Macro
    • Adding content to title page (like document title, we used css content-feature)
    • Toc formatting
  • Div-Macro (with HTML classname)
    • Pagebreaks in PDF (css definition in global PDF Stylesheet)
    • PDF to landscape for certain pages (css definition in global PDF Stylesheet)

Other option is to check a server-licence to have all the nice features like: User-Macro, HTML-Macro to hopefully solve this issue...

(As I already wrote in the text above, we are not able to pay for another plugin for this Issue. I just wanted to extend the licence to more user but the more plugins..., we have to evaluate options first)

Like Adan Warren likes this
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2019

Hello @Lukas Naef ! Thanks for keeping the thread alive.

I believe that you are right. Interacting with the feedback thread will most likely not solve your situation in a timely manner.

However, as of today, this is the best course of action we could take. Providing feedback on the removal or inclusion of features on our Cloud instance helps to create a better tool for the future.

Every bit and piece of feedback is wonderfully valuable for us. For page breaks in PDF, you can check this report! One of my colleagues posted a comment with a solution there:

And for the PDF in landscape orientation, we also have this report that sports a workaround as well. Here, take a look:

 

Now, for the Table Of Content macro formatting, I currently have no solution to provide here for you, Lukas.

Let me know if the information here helps you in some way! I encourage you to provide your own experience as feedback within the reports.

Looking forward to your reply.

Like Jawann likes this
Deniz Parlar November 20, 2019

Thanks @Lukas Naef for starting this thread, I too was wondering what happened to the DIV macro in this update. Hoping I can piggyback off of the discussion here.

 

@Diego do you know of any suggested solution for replacing the DIV macro functionality? The idea is that I'm trying to programmatically update the content of a Confluence page via the Confluence Cloud REST API (through regular expressions, which the DIV macro made easy to target).

 

Thanks!

Like # people like this
Daniel April 7, 2020

To me it is not understandable that the editor misses such basic features and moreover that some that were already available on the previous editor are missing on the new version (supposedly enhanced)!

Not sure why JIRA cloud is struggling with this with so much feedback on this topic for years...

As Lukas says you are inviting people to use MS products for this, which is a shame.

Hope you can sort it soon. 

Like # people like this
1 vote
Renick July 20, 2020

I also just saw that I can't create pages like some months ago. Now I'm a bit frustrated because I need to invest more time into creating some pages than I should. Breaking existing behavior isn't really enterprise. And the DIV macro was one of the basic elements which provided me some customization options. Without applying some custom styles, my pages look terrible.

1 vote
Ken Poulton May 28, 2020

Breaking Things = Bad

This kind of cavalier attitude to existing content is an ongoing frustration with Confluence. We spend a lot of time getting pages to look right and then you remove basic features. 

We have long time horizons here - we are documenting hardware that stays in production for 5 years and in support for 10 more.  Is is asking too much that existing documentation pages not get broken by updates?

1 vote
Enrico Karg February 6, 2020

In general it is not good that so many macros are not available in confluence cloud anymore. I used the multiple except macro for including content from various pages into a single one. Now I see it its only possible to use one single excerpt on each page.

But I am using the excerpt macro already for hiding (instructional) content in my templates. Now I want to use this exceprt for the more important stuff which should be displayed on a summarizing page and wanted to use the DIV macro to hide the instructional content. But this is gone as well. 

If you keep on going like this, we will never complete our switch to cofluence cloud and will be forced to evaluate other tools.

This is not a good direction you are heading...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events