Codeblock formatting with filename

Hi,

I’m looking for a way to paste codeblocks with a “contextual” information like filename.
Right now, I can just write it but it’s not part of the codeblock.

Example how I would like to see it in Obsidian:
image
Instead of C# I would like to give some filename.

So that when I see my code snippet, I see the filename of the snippet. Right now I can just write it above or below but it doesn’t get rendered as codeblock.

Is there any plugin / theme hack to implement this?

Thanks!

Try this: tadashi-aikawa/obsidian-embedded-code-title: It is an Obsidian plugin which can embeds title to code blocks. (github.com)