Hi All,
Has anyone noticed that the code block macro in new confluence 4.2.2 release does not get rendered in PDF export. The PDF file shows the following exception:
Error rendering macro 'code' :
Anyone knows how to resolve this please?
The version will be based on the .jar file bundled in Confluence. The latest version available now is New Code Macro Plugin version 2.0.14. You can try to install this and check out if the problem persists or otherwise.
The problem with exporting a code block in a PDF exists in version 6.0.0, nearly 4 years later...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
6 years
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.
The CodeBlock works now, but the Better Code Block does not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Hanis. It works well in wiki pages. Error is shown only when exported to PDF.
Isn't code block macro coming with the new version by default?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, can the code be used in Confluence pages as expected? This is not reproducible on my end though. What is the version of new code macro plugin installed in your instance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.