I would something like this:
{{< test/gallery class=“content-gallery” >}}
# Some markdown
and some text
{{< test/img src="/images/one.jpg" >}}
{{< test/img src="/images/two.jpg" >}}
{{< /test/gallery >}}
{{< test/img src="/images/three.jpg" >}}
How can I get the markdown inside of the gallery to render?
Yes, that was the first thing I tried, it unfortunately results in
<div class="“content-gallery”"> <h1 id="some-markdown">Some markdown</h1> <p>and some text <!-- raw HTML omitted --></p> <!-- raw HTML omitted --> </div> <img src="[/images/three.jpg](view-source:http://localhost:1313/images/three.jpg)">