未验证 提交 c5ab082e 编写于 作者: N Neonit 提交者: GitHub

Adjust Code Tab Size to 4 in Markdown Preview

Sets the tab size to 4 in the Markdown preview for code blocks in Markdown documents. I consider a tab size of 4 being standard and the default of 8 being unbearable. The few people, if any, using a different tab size than 4 can use the custom markdown preview style feature, if it is going to be fixed anytime (https://github.com/microsoft/vscode/issues/77290).

[`tab-size` is still marked *experimental* in the MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size), but it doesn't hurt, if not supported. However, in the used Chromium version it is supported.
上级 0437705d
......@@ -186,6 +186,7 @@ pre.hljs code > div {
pre code {
color: var(--vscode-editor-foreground);
tab-size: 4;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册