#snakemake 7.26 was recently released. It enables to use #yte templating in config files. While this can be very powerful, one should of course use this with care as it can hamper the readability of the config.
https://snakemake.readthedocs.io/en/stable/snakefiles/configuration.html