We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5a0f80 + 9e62e2d commit 0c83c9dCopy full SHA for 0c83c9d
docs/source/frontend_config.rst
@@ -48,6 +48,18 @@ to reissue the patch on new notebooks.
48
<https://codemirror.net/doc/manual.html#option_indentUnit>`_ which are available
49
for configuration.
50
51
+You can similarly change the options of the file editor by entering the following
52
+snippet in the browser's Javascript console once (from a file editing page).::
53
+
54
+ var config = Jupyter.editor.config
55
+ var patch = {
56
+ Editor: {
57
+ codemirror_options: {
58
+ indentUnit: 2
59
+ }
60
61
62
+ config.update(patch)
63
64
Example - Restoring the notebook's default indentation
65
------------------------------------------------------
0 commit comments