feature request: Indent before the code block
Closed this issue ยท 11 comments
There is a known problem in obsidian - this is the design of code blocks inside lists in live preview:
https://forum.obsidian.md/t/live-preview-better-support-of-code-blocks-in-lists/31352/57
Unfortunately, the authors have been dealing with the problem for almost 2 years and without result.
At the same time, you have a wonderful extension that greatly improves the user experience!
If you could add indents in front of your code blocks in the extension, it would be wonderful!
Thanks!
ah sorry. You mean indentation. I was thinking about indentation lines. Sorry, my bad.
But I am still confused a little. On the picture the codeblock is indented, or not? Maybe we are not talking about the same thing. Could you send two pictures. One where it is wrong, and one where I can see what you need?
can you name other cases when the code block needs to be intended? You said, inside a list, but what are the other cases?
thank you! I might have an idea how to solve this. I try to solve it until the next release.
It's not perfect, because the indentation lines are missing, but I didn't find another way to solve this reliably.
Available in version 1.2.4. Please test it, and if there is any problem, just report back.