我试图使用Reveal.js库将我的IPython/Jupyter Notebook导出为HTML幻灯片,但结果是一个空白页面。
我已经看到了关于它的提出的问题,但没有人解决我的问题(使用本地显示库,使用Reveal.js v2 ou v3)。
我使用的是Jupyter版本4.0.6和Python 2.7。
请在下面找到命令和服务器日志。
jupyter nbconvert --到幻灯片--ServePostProcessor.port=8910 --post serve pricing.ipynb
NbConvertApp将notebook pricing.ipynb转换为幻灯片
向pricing.slides.html写入1725694字节的NbConvertApp
为本地reveal.js服务的NbConvertApp
在http://127.0.0.1:8910/pricing.slides.html上为您的幻灯片服务
使用Control-C组合键停止此服务器
WARNING:tornado.access:404获取/custom.css (127.0.0.1) 3.00ms
发布于 2016-03-09 03:11:26
尝试从本地路径中删除reveal.js,然后运行以下命令。
jupyter nbconvert Slide.ipynb --to slides --post serve在web上查找js:。。。将reveal.js请求重定向到https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.1.0
我还发现了一些可能会有帮助的东西。
http://www.damian.oquanta.info/posts/using-a-local-revealjs-library-with-your-ipython-slides.html
https://stackoverflow.com/questions/35871393
复制相似问题