Hello Community. My teams very like to use Better Code macro which was installed to our Confluence Cloud, but unfortunately, when we try to export page to PDF or Word, there is nothing on the page finally? Any ideas?
I try to apply CSS code, but it didn't help
div.ap-container conf-macro output-block {
font-family: ConfluenceInstalledFont !important;
}
Hi there,
As @Mads already mentioned (thanks for that :)), our Scroll PDF Exporter supports the export of Better Code Blocks to PDF.
We're replacing the macro with a standard code block macro in the export (dealing with it like a default Code Block macro).
Feel free to try out Scroll PDF Exporter in the Atlassian Marketplace, and please reach out to us via support@k15t.com, if you have any feedback or questions.
Cheers,
Nils
Hi, it's nice, but unfortunately my management will not approve to buy your macro only for PDF export :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are replacing the "Better Code" Macro with the "ordinary" one? I was not aware. So, for languages not supported by the ordinary one, we loose formatting, etc, when converting to PDF?
Much better than no output, make no mistake, but annoying about the better code macro. I sort of got the impression Atlassian backed this plugin, but I guess not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mads,
Yes, if you export a language that is not supported by the default code block macro, the code is formatted with the default formatting.
That was the best approach we could come up with on our side, as the Better Code Block macro does not recognize that it's exported. It's not 100% ideal, but as you said better than nothing.
Cheers,
Nils
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there. Did you find a solution? We have the same issue (today).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I contacted with the developer and he said that he hasn't future plans to fix this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes and we are not alone https://bitbucket.org/robertmassaioli/cloud-code-macro/issues/6/macro-doesnt-show-in-export-to-pdf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I installed the "Scroll PDF exporter" plugin - which I have used other places (it is excellent). My first tests worked well: The Better Code Macro worked with the Scroll PDF exporter plugin.
Maybe a solution for you too.
Thanks for helping out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For anyone still facing this issue, new code macro Code Syntax Highlighter solves this problem. Code Syntax Highlighter produces static output from code block, thus it works with any kind of exports: to PDF, HTML, MS Word etc.
Give it a try https://marketplace.atlassian.com/apps/1219685
PS: I am add-on developer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.