Skip to content

Instantly share code, notes, and snippets.

@yanyuechuixue
Created April 13, 2020 13:41
Show Gist options
  • Save yanyuechuixue/e43ef56a675c19d3fd631c243c9a5fb1 to your computer and use it in GitHub Desktop.
Save yanyuechuixue/e43ef56a675c19d3fd631c243c9a5fb1 to your computer and use it in GitHub Desktop.
如何在 jupyter notebook 中启用 Code prettify
```bash
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
pip install yapf
```
然后在jupyter notebook 打开的页面中选 Nbextensions,启用 Code prettify 即可。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment