2016-09-25 88 views
1

如何更改jupyter中匹配圓括號的顏色?常規,方形和大括號在顯示爲匹配對時都顯示爲綠色,在淺色背景中很難看到。更改jupyter的匹配圓括號顏色

修改~/.jupyter/custom/custom.css加入.CodeMirror-matchingbracket似乎沒有爲我做任何事情。

+0

我知道你已經有一段時間了,但你有沒有試過下面的答案? –

回答

1

在〜/ .jupyter /自定義/ custom.css嘗試添加以下內容:

.cm-s-ipython .CodeMirror-matchingbracket { color: black !important;} 如果你不想要的顏色是黑色的,你可以使用任何你喜歡的webcolors