求助 首行缩进css代码没有用?

感谢!我也从BT里面扒了一段

source-view.mod-cm6 div.cm-line:not(.HyperMD-header),
.markdown-source-view.mod-cm6.indent div.cm-line:not(.HyperMD-header) {
  text-indent: 2em;
}

body.text-indentation-two-em .markdown-source-view.mod-cm6 div.cm-line:not(.HyperMD-header) .cm-hmd-frontmatter:first-of-type,
.markdown-source-view.mod-cm6.indent div.cm-line:not(.HyperMD-header) .cm-hmd-frontmatter:first-of-type {
  margin-left: -2em;
}

body.text-indentation-two-em .markdown-source-view.mod-cm6 div.has-banner.cm-line:not(.HyperMD-header) .cm-def.cm-hmd-frontmatter,
body.text-indentation-two-em .markdown-source-view.mod-cm6 div.has-banner.cm-line:not(.HyperMD-header) .collapse-indicator,
.markdown-source-view.mod-cm6.indent div.has-banner.cm-line:not(.HyperMD-header) .cm-def.cm-hmd-frontmatter,
.markdown-source-view.mod-cm6.indent div.has-banner.cm-line:not(.HyperMD-header) .collapse-indicator {
  margin-left: 0;
  left: -3em;
}

在yaml声明cssclass: indent可以对单篇笔记生效(编辑模式)

2 个赞