The theme states, that this should work as given here: https://gohugo.io/content-management/shortcodes/#figure
Though the height: auto for the figure overwrites the custom settings. I don't know why attr is not propagated though.
height: auto
The theme states, that this should work as given here:
https://gohugo.io/content-management/shortcodes/#figure
Though the
height: autofor the figure overwrites the custom settings.I don't know why attr is not propagated though.