nothingislost / obsidian-codemirror-options

Obsidian plugin with options to customize the behavior of CodeMirror
GNU General Public License v3.0
172 stars 13 forks source link

Line spacing is increased below when a [[link]] is in current line #104

Closed thelegend09 closed 2 years ago

thelegend09 commented 2 years ago

Civility: Hello!

Background: I'm using Obsidian v0.12.19 in Windows 10 (latest update). I'm using CodeMirror Options version 0.9.4. (0.9.4 was the latest I could get from inside Obsidian—I manually installed 0.9.5 but I guess that built was aimed for insiders, which I'm not.) I'm using the Atom theme that I've modified only for colors.

Issue: I want to hide the "[[" and "]]" of the markdown syntax. But when I do, the line spacing increases between the current line and the next one... and I don't want the spacing to change.

Demonstration: In the GIF below, I just installed and enabled a fresh version of Obsidian CodeMirror Options. I also have disabled all my snippets.

2021-12-17-122710

(I've meddled much more with it than in that GIF, but the issue was not resolved.)

thelegend09 commented 2 years ago

So I changed the theme and now it works perfectly fine.

Guess the theme was the problem.