mugiwara85/CodeblockCustomizer

Code block in nested lists can't display the header

Closed this issue · 3 comments

@mugiwara85 Thank you for creating this beautiful and useful plug-in.

I have found in use that when placing a code block in a list (both ordered and unordered) , which means that each line of the code block is preceded by an tab/indent), the header with code language doesn't show up anymore.

Here is my test code:

image

Here is how it renders in code/edit/read view:

image

All tests were conducted in sandbox mode without any interruptions,
with both the "Always display codeblock language" switch in on/off mode.

I hope this issue can be resolved,
because the code blocks in the list are often used when recording steps.

Thank you for your reading.


Obsidian: v1.3.5
Codeblock Customizer: v1.1.9

Hi! Yes, someone already told me this in another issue. I will fix this also in the next release (that's why the release takes a little longer than usual).

@mugiwara85 Thank you vary much, waiting for your nice job 😊!

@hanekit sorry for the late reply. It is fixed now, but please read the README! Should there be any problem just report back.