如何在JupyterLab上指定笔记本字体

时间:2020-08-04 07:29:52

标签: python jupyter-notebook jupyter jupyter-lab

我有一个关于在笔记本的高级设置编辑器上更改字体的问题。

我成功安装了我真正喜欢的Dracula主题,现在我面临着一个非常令人沮丧的问题。

这是我的设置:

enter image description here

现在,当我看笔记本时,会看到预期的结果: enter image description here

但是,当我将其更改为此处的字体时: enter image description here

例如:

{
    "codeCellConfig": {
        "autoClosingBrackets": true,
        "fontFamily": "SF Mono",
        "fontSize": 30,
        "lineHeight": null,
        "lineNumbers": false,
        "lineWrap": "off",
        "matchBrackets": true,
        "readOnly": false,
        "insertSpaces": true,
        "tabSize": 4,
        "wordWrapColumn": 80,
        "rulers": [],
        "codeFolding": true,
        "lineWiseCopyCut": true
    },
}

当您输入无效的字体时,VSCode也会显示此丑陋的文本:

enter image description here

0 个答案:

没有答案