Yes, I know about data templates. I’m having all data in .md files and to be consistent need to keep it with this extension. In theory I can create block-1.md, block-2.md, block-3.md in post directory and then after range through it, but it’s kinda dirty.
Markdown is a superset of HTML, so you put HTML right in your content.
Now, this example is a little simple and strange, so that may not solve your issue, but I would point out that one should not wrap a bunch headers in a single file with divs, so I think it works as an answer.