Changing jupyter's matching parenthesis color

半城伤御伤魂 提交于 2019-12-09 19:44:14

问题


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:


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.



来源:https://stackoverflow.com/questions/39686098/changing-jupyters-matching-parenthesis-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!