In past versions of the code macro, long lines were wrapped up. This feature was implemented in NCODE-142.
The wrap up of the long lines caused a problem with a mismatch between the line numbers and the actual line. To solve this bug (
CONF-23565) we removed the functionality to wrap up text.
There should be an option to wrap up text in the code macro. Adding a scroll bar may work on a web browser but it is not a good solution for PDF exports or print outs.
Affected version of the code macro plugin: 2.1.3.
Add the following CSS to the global stylesheet: