Skip to content

Instantly share code, notes, and snippets.

@AndrewAnnex
Created May 28, 2020 22:56
Show Gist options
  • Save AndrewAnnex/08d2cf6a2bd04bc5dca7bbcabe40370e to your computer and use it in GitHub Desktop.
Save AndrewAnnex/08d2cf6a2bd04bc5dca7bbcabe40370e to your computer and use it in GitHub Desktop.
jupyter html hide code and in/out divs, run in console to get simpler notebook without code or cell number in/outs
document.querySelectorAll("div.input").forEach(function(a){a.remove()})
document.querySelectorAll("div.prompt.input_prompt").forEach(function(a){console.log(a.innerHTML='')})
document.querySelectorAll("div.prompt.output_prompt").forEach(function(a){console.log(a.innerHTML='')})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment