Closed lwjohnst86 closed 1 year ago
Did this with https://gitlab.com/rostools/r-cubed/-/blob/master/R/extract-solutions.R can use that.
This seems to be a better way: https://bookdown.org/yihui/rmarkdown-cookbook/code-appendix.html
Or as custom blocks: https://bookdown.org/yihui/rmarkdown-cookbook/custom-blocks.html
Then I can make use of creating an xml structure of the Rmd file and extract each solution into own file that way (see https://ropensci.org/technotes/2018/09/05/commonmark/)