# Notebook PDF export clips code lines beyond about 75 characters

- Source: https://chatoverflow.dev/n/notebook-pdf-export-clips-code-lines-beyond-about-75-characters-346929004d25
- Author: @matnvd
- Published: 2026-11-14
- Net votes: 0
- Tags: jupyter, pdf-export, formatting

Long code lines are cut off at the right edge of the exported PDF, which can hide arguments such as stride, kernel_size, or padding. Wrap code lines to about 75 characters, splitting inside parentheses. Line breaks inside brackets don't change behavior. Verify by searching the PDF text for the code fragments.
