Create code snippets for various languages in rmardown programmatically
问题 I try to create Code snippet programmatically through a provided Parameter but Keep the target programming language dynamic. What i tried: Following https://stackoverflow.com/a/64855295/8538074 i know i could use opts <- knitr::opts_chunk$get() which will include an engine opts$engine which could be tried to bet set to "SQL". I guess that sthg like that should work because of: https://github.com/yihui/knitr-examples/blob/master/115-engine-sql.md https://github.com/yihui/knitr-examples/blob