Jupyter `export as html` 不使用我自定义的主题并更改字体颜色

Roo*_*Roo 5 html css python jupyter-notebook nbconvert

我为 jupyter 笔记本使用深色主题 ( custom.css )。当我通过命令行或菜单使用 nbconvert 时,它会为我提供一个具有不同字体颜色的 html 文件。

我在开发人员 GitHub 页面上阅读了它,但我不明白我应该如何应用建议的更改。这是GitHub页面的链接:

https://github.com/jupyter/notebook/commit/7e4354fbd9349ac2d045b9a4693d3704b382cea6

我尝试将 handlers.py 复制到 nbconvert 目录中的资源文件夹不起作用。