le8*_*ing 6 python jupyter jupyter-contrib-nbextensions
借助 nbextension toc,jupyter 笔记本具有目录功能,据说可以通过nbconvert --to html_toc 函数或通过下拉菜单“用 toc 下载为 html”将其转换为 html。然而,这两种选择都不适用于我的情况。
jupyter nbconvert FILE.ipynb --template toc
jupyter nbconvert FILE.ipynb --template toc2(这两个似乎不完整,但像这样提供)
jupyter nbconvert --to html_toc FILE.ipynb(与上面通过菜单的错误相同)jupyter nbconvert FILE.ipynb --template toc2错误“jinja2.exceptions.TemplateNotFound: toc2” 我仍然不明白 toc2 模板的作用。有(仍然)必要吗?为什么?如何(与其他文件一起?)?在哪里(如何提供位置)?到底需要什么,在哪里以及如何使用这个极其有用的功能?(如果您需要更多信息,请告诉我)
jupyter core : 4.7.1
jupyter-notebook : 6.2.0
qtconsole : 5.0.2
ipython : 7.20.0
ipykernel : 5.3.4
jupyter client : 6.1.7
jupyter lab : 3.0.8
nbconvert : 6.0.7
ipywidgets : 7.6.3
nbformat : 5.1.2
traitlets : 5.0.5
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5794 次 |
| 最近记录: |