-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.js
39 lines (27 loc) · 986 Bytes
/
custom.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
INSTALLATION
============
To install the extensions, copy the file custom.js to folder ~/.jupyter/custom
To install each extension, copy each js file to folder ~/.jupyter/custom
REFERENCES
==========
There is a list of icons here:
- http://fortawesome.github.io/Font-Awesome/cheatsheet/
- http://astronautweb.co/snippet/font-awesome/
Some other cool IPython notebook extensions:
- https://github.com/ipython-contrib/IPython-notebook-extensions
To write custom javascript functions. Explore the object properties with:
var cell = IPython.notebook.get_selected_cell();
console.log(Object.keys(cell).sort());
console.log(Object.getOwnPropertyNames(cell).sort());
Or use the autocomplete in the code editor.
*/
$([Jupyter.events]).on('app_initialized.NotebookApp', function(){
require([
'/custom/toggle_prompt_input_output.js',
'/custom/auxiliary_TOC_fn.js',
'/custom/TOC.js',
'/custom/TOC_links.js',
'/custom/toggle_menu.js'
])
});