Skip to content

Instantly share code, notes, and snippets.

@rflamary
Created January 22, 2021 07:37
Show Gist options
  • Select an option

  • Save rflamary/1871e0ecfc72a209907dd9225826694a to your computer and use it in GitHub Desktop.

Select an option

Save rflamary/1871e0ecfc72a209907dd9225826694a to your computer and use it in GitHub Desktop.
Jupyter Notebook viewer
#!/bin/bash
tfile=$(mktemp /tmp/nbview_XXXXXXXXXXX)
jupyter-nbconvert --to html --output "$tfile.html" "$1"
xdg-open "$tfile.html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment