How to disable wrap for code cells?
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
Hi
[Here](https://www.rparthiban.com/articles/misc/ucs/) is my blog post which is an experiment to write it in notebook and taking to wordpress. Out of many issues, one is that, all cells are heavily wrapped when viewed in mobile. I at least want code cells to be unwrapped (horizontal scrolling) to improve readability.
[Here](https://www.rparthiban.com/articles/wp-content/uploads/2018/05/UCS.html) is the actual exported html from nbconvert (via a script to embed images as base64).
Kindly help.
Contributor guide
Research direction
Start by reproducing the issue with the linked exported HTML and inspect how nbconvert styles code cells on mobile. Trace the relevant HTML/CSS entry point for code-cell wrapping, then verify that code cells use horizontal scrolling without breaking the surrounding notebook layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100