-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:如何更改每行前面的空格,我想每行文本前面留一些空白 #97
Comments
@wakaryry 你可以试试这样改一下: .CodeMirror pre {
padding: 0 15px; /* 原先只有 4px */
} 也算是一个间接的好提议了,下个版本想想看要不加大内间距,这样会比较美观一点。 |
@pandao 我把工具栏变成这样了,不过我加的空格被自动给识别成了name=' '的小工具,建议可以使用空格来间隔。 |
@wakaryry 嗯,可以考虑一下。 |
@wakaryry CodeMirror 动态生成的样式自然不能随意的改,可以改 CodeMirror 样式文件里的相关样式。 |
@pandao 基本已经解决了。 做了套简单的定制: |
@wakaryry Good job! |
@wakaryry 不过注意一下 Editor.md 的标准写法是 Editor.md。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想改变每行文本开始时前面的间隔:也就是不想每行都是挨着行标签输入,想增加一些空格,这样看着舒服一些。
请问一下,我应该如何去实现?
The text was updated successfully, but these errors were encountered: