Like with e.g. Symfony\Component\Console\Attribute\AsCommand for commands, I want to be able to use an attribute like AsShortcode for the service configuration of my shortcodes.
I haven't thought this through, yet, but I hope that this:
- would allow us to having the complete configuration for a shortcode at the shortcode class/method
- would remove boilerplate config
- would be less error prone / allow us to provide better error messages if the configuration is wrong