- Create a bookmark in your browser
- Copy and paste the code below into the
url
field. - When viewing a jupyter notebook on GitHub, click on the bookmark to view the notebook in
nbviewer
.
javascript: (() => {
const url = window.location.href;
const nbviewer_url = "https://nbviewer.org/github/";
const new_url = nbviewer_url + url.split("https://github.com/")[1];
window.open(new_url);