bennyxguo / Obsidian-Obsidianite

🎨 Obsidian.md custom theme, it's dark and simple but yet still stays sparkles!
MIT License
271 stars 47 forks source link

"Code Block" indentation issue #100

Open AghaAmil opened 6 months ago

AghaAmil commented 6 months ago

Hi and wishing you a good day. First of all, I would like to appreciate all the efforts you have put into this awesome theme.

I've encountered an issue with the "Code Block" indentation as shown in the attached picture. As the sentence is long and some words go to the second line, they interfere with the indentation vertical line indicator. It would be more visually appealing if the extra words in the second line to be indented as well as the whole sentence is indented. The markup format of the "Code Block" is :

if condition:
    # Code to execute if the condition is True
elif another_condition:
    # Code to execute if the previous condition is False, but this one is True
else:
    # Code to execute if none of the above conditions are True

Looking forward to hear from you.

Best Regards Amirhossein Moravveji

SCR-20240115-qplv
AghaAmil commented 6 months ago

Here is another example:

image