nbpreview
is a Jupyter/IPython notebook previewer. It does not require an internet connection, or even having Jupyter/IPython installed.
You can use this hosted version or git clone
your own. Just drag-and-drop your .ipynb
file onto the filepicker, and voilà!
To run nbpreview
on your own computer, clone or download this repository, and then open index.html
.
Alternatively, you can run a local server by executing python3 -m http.server 8000
in the nbpreview
directory, after which you can visit http://localhost:8000.
- notebookjs, for notebook-rendering
- dompurify, for HTML sanitization
- prism, for code-highlighting
- marked, for markdown-rendering
- ansi_up, for ANSI-rendering
- katex, for math typesetting
- es5-shim, for JavaScript compatibility
Contributions are welcome. If you'd like to suggest a new feature, please open an issue to discuss the proposal before submitting a pull request.