1. jupyter notebook输出所有的代码表达式:
<code>
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
</code>
2. jupyter notebook输出HTML:
<code>
jupyter nbconvert --execute --to html notebook.ipynb
</code>
3. jupyter notebook注释多行:
ctrl + / (Mac, Linux)