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

Code block macro issue in PDF export

MPal Pal June 24, 2012

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?

5 answers

1 accepted

1 vote
Answer accepted
hsuhailah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2012

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.

2 votes
Helen Griffith March 14, 2016

The problem with exporting a code block in a PDF exists in version 6.0.0, nearly 4 years later...

Jonathan Ben Ami June 27, 2018

6 years

Helen Griffith June 28, 2018

Wow

Erwin Rooijakkers November 14, 2018

The CodeBlock works now, but the Better Code Block does not.

0 votes
MPal Pal July 8, 2012

Thanks a lot for the help. It works well after installing new version. :)

0 votes
MPal Pal June 24, 2012

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?

0 votes
hsuhailah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2012

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events