!pip install jupyter_to_medium
!jupyter bundlerextension enable --py jupyter_to_medium._bundler --sys-prefix
Get your integration token by going to your Medium Account's Settings > Integration Token.
!mkdir ~/.jupyter_to_medium # create folder
!echo "YOUR-INTEGRATION-TOKEN" > ~/.jupyter_to_medium/integration_token # add integration token
All done!
The next time you restart Jupyter Notebook, you will be able to deploy your notebooks straight to Medium!
PS: this medium article was generated from this Jupyter Notebook using jupyter_to_medium.