---
title: Home
---
## Section 1
This is the content of section 1.
## Section 2
This is the content of section 2.
I would like to split the content into two separate HTML section tags, like this:
<main>
<section>
<h2>Section 1</h2>
<p>This is the content of section 1.</p>
</section>
<section>
<h2>Section 2</h2>
<p>This is the content of section 2.</p>
</section>
</main>
(I’m not talking about “Hugo sections”, you get it.)
Tried that already. Answer is no, there is no convenient way. With a lot of coding, using the attribute .Level, it might be possible, but it’s over my head and no one seems to want that headache.