i agree using admonition code block not a great writing experience. the standard obsidian callout (Use callouts - Obsidian Help) improves it a bit - do try if u r okay with that
adding a border to encapsulate the entire content under a specific header is tricky - i personally haven’t managed to do so. i only found a way using a bullet list
here’s my best rendition - the background under Metadata