我使用以下几行来更改降价单元格的样式
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
(它更改了降价的默认字体),但在jupyter-lab
.
我该怎么做?