I use code blocks quite frequently in <details> tags, which Obsidian doesn’t render properly. This makes it difficult for me to use Obsidian.
I found “code-block-inclusion-inside-details-section/98447” (sorry the forum doesn’t let me add links
) but the suggestion doesn’t work for me. It’s easy to edit the code in a code block as the lines are not prefixed, e.g. with > in a callout.
Is there another feature for code blocks that I can use in a similar way with <details> tags that (1) Obsidian renders properly (2) doesn’t require prefixing each code line?