G丁果
2
该行内代码样式CSS,对在列表和表格中的文本不生效,大佬能不能改下
Probe
4
实时预览时, 如果表格里写 inline code, 用的是 <code>xxx</code>
标签, 所以可以改成下面这样:
/*实时编辑*/
.markdown-source-view span.cm-inline-code, .markdown-source-view code {
padding:4px;
border-width:1px;
border-style: solid;
border-radius: 5px;
margin-left:5px;
margin-right:5px;
}
.theme-light .markdown-source-view span.cm-inline-code,
.theme-light .markdown-source-view code {
color:black;
background-color: #f6f1c6;
border-color:#a7a2a2;
}
.theme-dark .markdown-source-view span.cm-inline-code,
.theme-light .markdown-source-view code {
color:black;
background-color: #f6f1c6;
border-color:#7c7575
}
/*阅读模式*/
.markdown-reading-view code {
padding:4px;
border-width:1px;
border-style:solid;
border-radius:5px;
margin-left:5px;
margin-right:5px;
}
.theme-light .markdown-reading-view code {
color:black;
background-color:#f6f1c6;
border-color:#a7a2a2;
}
.theme-dark .markdown-reading-view code {
color:black;
background-color:#f6f1c6;
border-color:#7c7575
}