Closed bg1avd closed 1 year ago
可以看到字符都是看不见的,当选中时,字符才显示出来
修改assets/custom2.css里的下面这些语句,去掉颜色渲染,就行了
/* Inline code */
code {
display: inline;
/* white-space: break-spaces; */
border-radius: 6px;
margin: 0 2px 0 2px;
padding: .2em .4em .1em .4em;
/* background-color: rgba(175,184,193,0.2); */
}
/* Code block */
pre code {
display: block;
overflow: auto;
white-space: pre;
/* background-color: hsla(0, 50%, 50%, 80%)!important;*/
border-radius: 10px;
padding: 1.4em 1.2em 0em 1.4em;
margin: 1.2em 2em 1.2em 0.5em;
/* color: #1; */
box-shadow: 1px 1px 1px hsla(0, 0%, 0%, 0.2);
}