我博客地址 https://alexanderwangsgithub.github.io/
使用Jupyter制作slides
Jupyter note非常適合寫教程,幫助別人節(jié)省時(shí)間,如果需要進(jìn)行一場(chǎng)分享會(huì)的話,可以生成slides作為PPT使用。
[TOC]
Env
- iPython
Jupyter就是iPython Notebook的新名字。
- nbconvert
用于將notebook轉(zhuǎn)換成html
關(guān)于環(huán)境,請(qǐng)看Jupyter Notebook
Usage
start
cd $notebookDir
jupyter notebook
labels
菜單欄選擇View—>Toggle Toolbar—>打開
菜單欄選擇View—>Cell Toolbar—>Slidesshow—>選擇
- Slide
單個(gè)view,左右滑動(dòng)切換
- Sub-Slide
Cell的sub-cell,上下滑動(dòng)切換
- Fragment
這個(gè)是Slide或Sub-Slide的屬性,可以按次序展示,單擊一次出現(xiàn)一條
- Skip
跳過,注釋非演示代碼用的
- Notes
在頁(yè)面按s就可以跳出來的注釋
Reveal
themes
transitions
gen
jupyter-nbconvert --to slides Python_Share.ipynb --reveal-prefix '//cdn.bootcss.com/reveal.js/3.2.0' --output Python_Share
server
python -m SimpleHTTPServer 8000