【发布时间】:2018-05-30 09:14:26
【问题描述】:
我使用以下几行来更改降价单元格的样式
from IPython.core.display import HTML
with open( './custom.css', 'r' ) as f: style = f.read()
HTML( style )
文件custom.css 包含这些行
<style>
div.text_cell_render {font-family: "Times New Roman", Times, serif;}
</style>
这在jupyter-notebook 中按预期工作(它更改了markdown 的默认字体),但在jupyter-lab 中没有效果。
我该怎么做?
【问题讨论】:
标签: python css jupyter-notebook jupyter-lab