原因: 使用了 dark theme(比如 jupyterthemes
)
解决方案:
-
使用pip安装jupyterthemes:
pip install jupyterthemes
-
恢复默认主题
jt -r # 恢复默认主题
- 然后再导出 HTML,代码块会变回白底黑字。
原因: 使用了 dark theme(比如 jupyterthemes
)
解决方案:
使用pip安装jupyterthemes:
pip install jupyterthemes
恢复默认主题
jt -r # 恢复默认主题