比如这里我添加这样的css脚本后能对齐,但不同用户的字体、主题、设置下,数值就需要自己调整了:
.HyperMD-codeblock.HyperMD-codeblock-begin.HyperMD-codeblock-begin-bg.HyperMD-codeblock-bg.cm-line > .cm-indent::before,
.HyperMD-codeblock.HyperMD-codeblock-bg.cm-line .cm-indent::before{
margin-left: -0.2em;
}
效果如图(左编辑右阅读):
如何添加css脚本:【新手向教程】OB样式调整基础课:CSS入门科普