How to keep the left gutter (linenumbers) of built-in code macro in exported PDF ?
Hi All,
I enabled the linenumbers of the built-in code macro in Confluence. (see confluence_code_block.jpg)
But in the exported PDF, the code block looks like a quoted paragraph without left gutter. (see pdf_code_block.jpg)
Is there any way to keep the linenumbers ? Thanks.
(Confluence 5.0.3 with built-in Code Macro Plugin 2.0.19, Scroll PDF Exporter 2.5.6)
Best Regards,
Chien
pdf_code_block.jpg
confluence_code_block.jpg
-
Hi Chien,
I actually had the same issue, and tried the following :div.code
{
counter-reset: div;
}
div.line:before
{
counter-increment: div;
content: counter(div) " ";
}It was of no help, since 'div' elements are not recognized during the export. It works in Confluence though ...
Please vote for the improvement in Jira : https://k15t.jira.com/browse/PDF-553
Best regards
Adam Bennari -
Hi Charles,
the issue was moved to our new exporters JIRA project: https://k15t.jira.com/browse/EXP-326
You've already voted for this and are watching the ticket.
I hope that helps.
Cheers,
Nils
Please sign in to leave a comment.
Comments
5 comments