Skip to content

Printviewmenu button

Juergen Hasch edited this page Aug 23, 2014 · 3 revisions

For 2.x: This extension provides a toolbar button to call the menu item File->Print Preview directly.

For 3.x: This extension provides a toolbar button to call nbconvert with your current profile and shows the output in a new browser window.

Installation

Copy the publishing/printviewmenu_button.js file to /nbextensions/publishing/printviewmenu_button.js in your IPython notebook server installation, and either load it by executing this cell

%%Javascript
IPython.load_extensions('publishing/printviewmenu_button')

or add IPython.load_extensions('publishing/printviewmenu_button') to custom.js in your profile's /static/custom directory.

Clone this wiki locally