V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
proxytoworld
V2EX  ›  问与答

obsidian 怎么去除、关掉代码块中的竖线

  •  
  •   proxytoworld · Jan 2, 2024 · 1565 views
    This topic created in 851 days ago, the information mentioned may be changed or developed.

    在代码块里面每四个空格、一个 tab ,都会有一个竖线,多少有点难看了,怎么关掉啊

    Supplement 1  ·  Jan 2, 2024
    fine ,找了一下 css ,用如下就行:
    ```css
    .markdown-source-view.mod-cm6 .cm-indent::before {
    display: none !important;
    }
    ```
    2 replies    2024-01-02 14:40:01 +08:00
    sfqtsh
        1
    sfqtsh  
       Jan 2, 2024 via Android
    obsidian 支持 CSS snippets ,你可以自定义 CSS 样式把这去掉。
    proxytoworld
        2
    proxytoworld  
    OP
       Jan 2, 2024
    @sfqtsh 没写过 css ,这该咋写啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2460 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:01 · PVG 20:01 · LAX 05:01 · JFK 08:01
    ♥ Do have faith in what you're doing.