Jupyter Notebook
字体配置
1、jupyter-notebook
的 css
文件位置如下:
C:\Users\{用户名}\.jupyter\custom\custom.css
2、将以下代码复制进去
* {
/*font-family: inter, Microsoft YaHei;*/
font-size: 13pt;
}
div.output_area pre {
font-family: Consolas, inter, Microsoft YaHei;
font-size: 12pt;
line-height: 18px;
}
.CodeMirror-scroll {
font-family: Consolas !important;
line-height: 25px;
}
code {
font-family: Consolas !important;
}
.col-md-12{
padding-top: 6px!important;
}
评论区