如何使用带有“toc”和“隐藏输入”的 nbconvert 导出在 html 中嵌入图像?

BRa*_*Rat 5 html tableofcontents jupyter-notebook nbconvert python-3.7

我的问题是这个问题的扩展(使用 nbconvert html 导出时结合“toc”和“隐藏输入”)。建议的解决方案适用于 Win 10(Anaconda、Jupyter 笔记本),但图像保存在单独的目录中。

我想将图像嵌入 html 中,这样我就可以自己分享它。我怎样才能做到这一点?