英文:
Add slide numbers to Jupyter Notebook Slides
问题
我想要为Jupyter Notebook幻灯片添加幻灯片编号。我在这个问题中找到了相关信息,但我不确定如何以及是否可以在Jupyter Notebook幻灯片中添加幻灯片编号。以下是一些可复制的代码来创建幻灯片演示:
# Jupyter Notebook 幻灯片
我想在这里添加幻灯片编号?
在终端中使用以下命令:
jupyter nbconvert test_slides.ipynb --to slides --post serve
所以我想知道是否有人知道如何在Jupyter Notebook幻灯片中添加页面编号?
英文:
I would like to add slide numbers to a Jupyter Notebook slideshow. I found an issue about this, but I am not sure how and if it possible to add slide numbers to your slides in Jupyter Notebook slideshow. Here is some reproducible code to make a slide show:
# Jupyter Notebook Slides
I would like to add a slide number here?
Using the command in the terminal:
jupyter nbconvert test_slides.ipynb --to slides --post serve
So I was wondering if anyone knows how to add a page number to your slides in a Jupyter Notebook Slideshow?
答案1
得分: 0
正如评论中@Wayne所提到的,您可以使用以下命令:
jupyter nbconvert notebook_slides.ipynb --to slides --SlidesExporter.reveal_number='c/t'
输出:
如您所见,现在它有幻灯片编号!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论