【已解决】怎么修改行间距,感觉行间距太小了

一直用的默认主题,其他主题太花了没有玩,以前用的css片段可以修改行间距,但是现在变成所见即所得模式了,有没有适合所见即所得模式的修改行间距的css片段

/* preview page */
body:not(.font-family-change-to-default) .markdown-preview-view.is-readable-line-width .markdown-preview-section,
body:not(.font-family-change-to-default) .markdown-source-view.is-readable-line-width .CodeMirror,
body:not(.font-family-change-to-default) .markdown-preview-view.is-readable-line-width .markdown-preview-sizer,
body:not(.font-family-change-to-default) .markdown-preview-view .markdown-preview-section,
body:not(.font-family-change-to-default) .markdown-source-view .CodeMirror,
body:not(.font-family-change-to-default) .markdown-preview-view .markdown-preview-sizer,
body:not(.font-family-change-to-default) .markdown-source-view.mod-cm6 .cm-scroller {
line-height: 1.8;
}

2 个赞

为什么我的没有用啊

body {
  --line-height-normal: 1.8;
}
1 个赞