Code block macro - line numbering lost upon export to MS Word

Iswar Radhakrishnan July 23, 2018

The code block macro displays line numbers within Confluence. However the line numbers disappear when Export to Word or Export to PDF is selected from Confluence. Is there a way to preserve the line numbers upon Export?

Capture.PNG

1 answer

1 vote
Zak Laughton
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2018

Hi Iswar,

I just tested this out and was able to reproduce the behavior you're describing. When pages with a line-numbered code macro are exported to PDF or Word, the exported file does not show the line numbering.

I have created a bug ticket with our developers for this issue: CONFSERVER-56152. Feel free to vote and comment on this feature request to help give our developers more context around the issue (see also: Atlassian Bug Fixing Policy).

Sorry for the inconvenience, and thank you for bringing this to our attention!

-Zak

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events