Created
December 26, 2021 16:43
-
-
Save jj-github-jj/62add87382e514d1464434b2397422ae to your computer and use it in GitHub Desktop.
EXPORT IPYNB OUTPUTS ONLY AS HTML
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
# output html without code only outputs. Use in ipynb file | |
# | |
#!pip install ipynbname | |
try : | |
import ipynbname #utility to get current notebook name and path | |
except: | |
!pip install ipynbname | |
import ipynbname #utility to get current notebook name and path | |
nb_fname_full= ipynbname.name()+'.ipynb' | |
!jupyter nbconvert "{nb_fname_full}" --no-input --to html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment