mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Change comment identifier to be valid JavaScript
Copying and pasting the snippet with `#` as a comment identifier caused an error, so use `//` instead.
This commit is contained in:
parent
31400855f8
commit
63cc96ed1c
@ -61,7 +61,7 @@ four spaces. Enter the following code snippet in your JavaScript console::
|
|||||||
var config = cell.config;
|
var config = cell.config;
|
||||||
var patch = {
|
var patch = {
|
||||||
CodeCell:{
|
CodeCell:{
|
||||||
cm_config:{indentUnit: null} # only change here.
|
cm_config:{indentUnit: null} // only change here.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
config.update(patch)
|
config.update(patch)
|
||||||
|
Loading…
Reference in New Issue
Block a user