jupyter notebook download as html without code

HTML
document.querySelectorAll("div.input").forEach(function(a){a.remove()})
Source

Also in HTML: