Changing jupyter's matching parenthesis color

2020-06-25 05:00发布

How do I change the color of the matching parentheses in jupyter? Regular, square, and curly brackets all appear in bright green when they are shown as matching pairs and it is pretty difficult to see in light background.

Modifying ~/.jupyter/custom/custom.css by adding .CodeMirror-matchingbracket doesn't seem to do anything for me.

1条回答
贪生不怕死
2楼-- · 2020-06-25 05:45

In ~/.jupyter/custom/custom.css try adding the following:

.cm-s-ipython .CodeMirror-matchingbracket { color: black !important;} If you don't want the color to be black you can use any webcolors you like.

查看更多
登录 后发表回答