Hugo

Shortcode which outputs a shortcode

Is there a way for a shortcode to output a shortcode, which in turn gets interpreted? I have some generated documentation in a yaml data file, and this documentation include {{< ref "..." >}} shortcodes. I can inject the generated docs into my page using a shortcode, but that will leave the {{< ref "..." >}} so injected unevaluated.

Prior art search term: https://discourse.gohugo.io/search?q=nested%20shortcode

Thanks, I didn’t think to search on nested. Looks like a no then. I’ll try to figure something out.