mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
parent
5ac40d0746
commit
127a0669ff
@ -85,7 +85,13 @@ var IPython = (function (IPython) {
|
||||
|
||||
CodeCell.options_default = {
|
||||
cm_config : {
|
||||
extraKeys: {"Tab": "indentMore","Shift-Tab" : "indentLess",'Backspace':"delSpaceToPrevTabStop"},
|
||||
extraKeys: {
|
||||
"Tab" : "indentMore",
|
||||
"Shift-Tab" : "indentLess",
|
||||
"Backspace" : "delSpaceToPrevTabStop",
|
||||
"Cmd-/" : "toggleComment",
|
||||
"Ctrl-/" : "toggleComment"
|
||||
},
|
||||
mode: 'ipython',
|
||||
theme: 'ipython',
|
||||
matchBrackets: true
|
||||
|
@ -211,6 +211,7 @@ class="notebook_app"
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("notebook/js/codemirror-ipython.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user