I have a shortcode to display an “alert” block which looks like this
{{- $title := .Get 0 -}}
<div class="alert alert-info" role="alert">
<h5 class="alert-heading fw-bold">{{ $title }}</h5>
{{- .Inner | markdownify -}}
</div>
It works fine, but in some cases I want to show an image (for example with standard figure shortcode) inside an alert block. Unfortunately this does not work, the image is not shown. I can make image appear by removing markdownify but this breaks all formatting of the alert text.
From what I understand, nested shortcodes are supported by Hugo but there is no way to handle shortcodes when applying markdownify to the inner text. I found similar question here but it does not have a solution. Am I righ that right now there is no way to achieve what I want?