The shortcode will be similar to what we created for your previous question, but since we’re passing in markdown we need to render it to HTML with either markdownify or .Page.RenderString:
layouts/shortcodes/references.html:
<figure>
<figcaption>References:</figcaption>
<ul>
{{- $line := "" -}}
{{- range (split .Inner "\n") -}}
{{- $line = trim . " " -}}
{{- if gt (len $line) 0 }}
<li>{{ $line | $.Page.RenderString }}</li>
{{- end }}
{{- end }}
</ul>
</figure>