Forum Discussion
n421m
May 02, 2025Copper Contributor
Indentation is lost when copying Python code from PDF/Word back into Jupyter Notebook
Hello everyone, I’m working on a thesis project using JupyterLab where I wrote a series of Python scripts. I copied those scripts into a Word document for formatting (e.g., to include in the appendi...
Kidd_Ip
May 05, 2025MVP
To ensure proper indentation is maintained when copying code, consider utilizing Word’s built-in "Code" style or structuring the code within a single-column table. This approach enhances formatting consistency and helps preserve indentation during the transfer process.