Custom html in markdown

Given that markdown is rather simplistic I started to use some html.

# Title
Some *text*
<aside>
The *aside*
</aside>

Now the problem is that the everything within the aside tag needs to be html itself - while I would rather have it be markdown.

Any other approach to have a markdown extension for “aside”?

Look into shortcodes.

Edit, here’s a link to the relevant docs portion. You can use the % delimiter to make the shortcode accept markdown.

Thanks for the pointer but I still must be missing something. This what I tried.

<aside>
{{ .Inner }}
</aside>

{{% notice %}}
The *inner* text
{{% /notice %}}

This did the trick!

<aside>
{{ .Inner | markdownify }}
</aside>