markdown可以配合css调整行间距么

2025-03-13 00:19:06
推荐回答(1个)
回答1:

可以使用CSS美化markdown编排的文档.
使用方法:在markdown文档开头添加,例如

在具体的css文件里可以添加如下文件调整行间距,例如:
@charset "utf-8";

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body{
color:#444;
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
font-size:13px;
line-height:1.5em;
padding:1em;
margin:auto;
max-width:42em;
background:#fefefe;
}