美文网首页Jupyter
使用Jupyter导出slides-Python-PPT-Sli

使用Jupyter导出slides-Python-PPT-Sli

作者: AlexanderWang_z | 来源:发表于2017-01-15 00:08 被阅读735次

    我博客地址 https://alexanderwangsgithub.github.io/

    使用Jupyter制作slides

    Jupyter note非常适合写教程,帮助别人节省时间,如果需要进行一场分享会的话,可以生成slides作为PPT使用。

    [TOC]

    Env

    • iPython

    Jupyter就是iPython Notebook的新名字。

    • nbconvert

    用于将notebook转换成html

    关于环境,请看Jupyter Notebook

    Usage

    start

    cd $notebookDir
    jupyter notebook
    

    labels

    菜单栏选择View—>Toggle Toolbar—>打开

    菜单栏选择View—>Cell Toolbar—>Slidesshow—>选择

    • Slide

    单个view,左右滑动切换

    • Sub-Slide

    Cell的sub-cell,上下滑动切换

    • Fragment

    这个是Slide或Sub-Slide的属性,可以按次序展示,单击一次出现一条

    • Skip

    跳过,注释非演示代码用的

    • Notes

    在页面按s就可以跳出来的注释

    Reveal

    themes

    Sky, Beige, Serif, etc.

    transitions

    Cube, Zoom, None, etc.

    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
    

    相关文章

      网友评论

        本文标题:使用Jupyter导出slides-Python-PPT-Sli

        本文链接:https://www.haomeiwen.com/subject/rsrybttx.html