Aidurber/obsidian-plugin-dynamic-toc

Forcing tight newline-spacing in TOC

Gewerd-Strauss opened this issue · 3 comments

Hello,

I have a small question, as the code you use in your reame

image

doesn't seem to work on my end. Fresh install, settings are the following:

image

This is the result on my end:

image

I'd like to condense it - because otherwhise this can easily become very large on certain notes. I don't need the newlines inbetween entries.

Is that possible/Why do I get different results?


Sincerely,
~Gw

Hi @Gewerd-Strauss,

I'm afraid I can't reproduce this.

  1. Are you using the Live Preview feature in Obsidian?
  2. Can you reproduce this on the latest version 0.0.23? I'm thinking your issue is the same as #33

My theory is some custom CSS rule. Can you tell me which theme you are using?

Below are 2 screenshots:

  • Default Obsidian Theme
  • Things Theme
    2022-01-30 09_03_50-Debug - Obsidian v0 13 19
    2022-01-30 09_04_03-Debug - Obsidian v0 13 19

This is interesting.

I am using the Shimmering Focus theme. Well, I am using four themes, depending on vault. However, when I created this issue I previously tested it on all my themes (including default), with the same problem happening across all vaults, themes and combinations.

Now, I just did so again since you cannot reproduce it.

No matter the theme/anything, I cannot reproduce it either, suddenly.
image
(Left is editor, right is preview)

I don't use any CSS snippets beyond the css of the Shimmering focus theme, but since this was happening independent of the active theme, I don't think it's the cause.

I have no idea what caused it, nor what resolved it again. We can close this issue. The next time I notice this happening, I'll make a copy of my vault and we'll where the problem lies.

I'm glad to hear @Gewerd-Strauss, thanks for keeping me updated!