-
Notifications
You must be signed in to change notification settings - Fork 0
Printview Button
This extension adds a button to the toolbar that calls nbconvert on the notebook server:
When pressing the button on the toolbar, the following python command is executed:
import os; os.system(\"ipython nbconvert --to html ' + notebookname + '\")This leaves the resulting static html file from your notebook in the directory where the notebook resides. Additionally, a new tab in the browser is opened and the generated static html file of the notebook is displayed.
Copy the printview.js file, and add require(['/static/custom/printview_button.js']) to custom.js in your profile's /static/custom directory, so it looks like this:
$([IPython.events]).on('app_initialized.NotebookApp', function(){
require(['/static/custom/printview_button.js'])
});Aspell
Breakpoints
Chrome Clipboard
Codefolding
Comment Uncomment
Drag and Drop
Execute Timings
Help Panel
Hide Input All
Hierarchical Collapse
International Keymap
Javascript Highlighter
LaTeX Environments
Limit Output
Linenumbers
Navigation Hotkeys
Nbconvert Button
Printview Button
Printviewmenu Button
Python Markdown
Readonly
Rubberband
Runtools
Search & Replace
Search
Shift-Tab 3.x
Skip Traceback
