There are several threads here covering nested shortcodes but it’s still unclear to me if this provides actual nesting.
To clarify, the example in the docs allows you to pass shortcode2 as input to shortcode1 when including shortcode1 in your normal markdown content. This ability to pipe the output of one shortcode into another is useful for composition on the fly.
However, what it does not seem to allow is including shortcode2.md in the definition of shortcode1.md such as:
## myFunction is really cool
You can use myFunction with {{% productnames/ExampleMcExampleface %}} to do cool things
This is something that would be very useful for content reuse (or for including product names that might change during a rebrand).
The best solution I can find is hugo - Use shortcode within definition of shortcode - Stack Overflow but I’d rather not split reusable content between my shortcodes and partials.
Is there a less hacky way to do this?