Created
September 26, 2022 19:23
-
-
Save davipatti/28e62f965d5101c9273e2a43036bb9ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fish function for converting jupyter notebooks to html with and without code cells | |
function jnc | |
for file in $argv | |
set root (basename "$file" .ipynb) | |
jupyter nbconvert --to html "$file" | |
jupyter nbconvert --to html --TemplateExporter.exclude_input=True "$file" --output "$root"-nocode.html | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment