2020版jetbrain全家桶markdown预览乱码问题解决办法
程序员文章站
2024-03-20 11:21:10
...
在setting中如下位置添加最下面的CSS字体样式
保存重新打开一下就OK了
body {
font-size: 15px;
font-family: "Microsoft YaHei";
margin: 0;
padding: 10px;
}
h1 {
font-size: 2.2em;
font-weight: 700;
line-height: 1.1;
padding-top: 16px;
margin-bottom: 4px;
}
h2, h3, h4, h5, h6 {
line-height: 1.5em;
margin-top: 2.2em;
margin-bottom: 4px;
}
h2 {
font-size: 1.4em;
margin: 40px 10px 20px 0;
padding-left: 9px;
border-left: 6px solid #ff7e79;
font-weight: 700;
line-height: 1.4;
}
h3 {
font-weight: 700;
font-size: 1.2em;
line-height: 1.4;
margin: 10px 0 5px;
padding-top: 10px;
}
h4 {
font-weight: 700;
text-transform: uppercase;
font-size: 1.1em;
line-height: 1.4;
margin: 10px 0 5px;
padding-top: 10px
}
h5, h6 {
font-size: .9em;
}
h5 {
font-weight: bold;
text-transform: uppercase;
}
h6 {
font-weight: normal;
color: #AAA;
}
dl, ol, ul {
font-family: "SimHei";
margin-top: 12px;
margin-bottom: 20px;
padding-left: 5%;
line-height: 1.8;
}
p {
font-family: "SimHei";
margin: 0 0 20px;
padding: 0;
line-height: 1.8;
}
上一篇: 商务人士适合用什么邮箱?一款商务人士必备的邮箱推荐
下一篇: jsp的四种会话跟踪技术