I’m looking at the example here: https://github.com/binder-examples/stencila-r/ where there is a Rmd file, and then we click the binder button and get a really nice-looking and interactive document in the browser.
How can I use the stencila cli to convert my
Rmd file to a
jats.xml that can be executed in the browser like I see in that example repo?
I’m thinking that I could have a code chunk at the end of my Rmd that does this conversion. So that each time I knit the Rmd I also get an updated copy of the
jats.xml? Then when I commit and push to GitHub, the document that goes into the binder container is updated also.
The stencila R package seems like a great place to have a function for this, what do you think?