O_O
March 6, 2024, 4:59am
1
I tried (on my .jupyter\nbconfig\notebook.js)
{
“Cell”: {
“cm_config”: {
“lineWrapping”: true
}
}
}
and also tried
{
“MarkdownCell”: {
“cm_config”: {
“lineWrapping”: true
}
},
“CodeCell”: {
“cm_config”: {
“lineWrapping”: true
}
}
}
but Neither of them works.
It doesn’t seem to work after version 7.
My notebook version is 7.0.8…
Please help me
The same to me, is there any solution now?
oh, I figured it out according to this reply
1 Like
O_O:
\notebook.js
The extension .js
is for javascript.
You are looking for notebook.json
to edit a JSON file, see How can I set up Jupyter Notebook to wrap text in all cells? .
Can you expand on that with the exact name of the file you edited?
I see that the comment below where you link is ~/.jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings
; however, this thread is about Notebook 7+ and not JupyterLab.
it’s true, I don’t know why either…
but it works fine in both lab and notebook in my test
1 Like
yes, it is the .jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings
add "lineWrap": true
in codeCellConfig
1 Like