mugiwara85/CodeblockCustomizer

Conflict with Minimal theme: indentation of code blocks does not work properly in LP mode

Closed this issue · 2 comments

After switch to the theme Minimal, Indentation of code blocks does not work properly in LP mode.
If there is a tab before the block, the block will "fly" to the left side of the screen.
Below is the effect of installing only the "Minimal" theme and "CodeblockCustomizer" plugin in Obsidian Sandbox.

  • version info: These are the latest versions.
    • Obsidian: 1.5.3
    • Minimal theme: 7.4.8
    • CodeblockCustomizer plugin: 1.2.5

No tab before the code block

Markdown source

Clip_2024-02-18_20-58-42

LP mode result:

Clip_2024-02-18_20-53-46

1 tab before the code block

Markdown source

Clip_2024-02-18_20-58-28

LP mode result (not work properly):

Clip_2024-02-18_20-53-22

Yeah, I also just saw, that something is not correct with the current version of Obsidian regarding the indentation. I am already working on it. Next release will fix it (hopefully, if I am done with it until then :) ).

Fixed in current release (1.2.6). Should there be any problems please report back.