New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Environment Inline R code or nested chunks #924
Comments
Eventually we hope to provide an alternative implementation of the theorem environments based on Pandoc's fenced Divs. Then you'll be able to mix R code chunks or inline code into these environments, e.g.
There is no ETA at the moment, but I'll prioritize this issue. |
Now you may test the development version via: remotes::install_github('rstudio/bookdown') There isn't much documentation yet, but hopefully the syntax is straightforward enough. Here is an example: https://github.com/rstudio/bookdown/blob/master/tests/rmd/custom-environments.Rmd The new helper function I plan to make a new CRAN release soon, so you probably won't have time to test this new feature thoroughly, but we can definitely keep improving it in the future versions. Thanks! |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Hi folks, so sorry to disturb again.
From my search, I believe and it looks like a lot of people have been looking for similar things over the years....
As I posted there in the comments, I don't know if a child document or more likely a lua filter approach would work - despite using XieYiHui's awesome code for so many years now, I am still a total newbie unfortunately. Therefore, your expert help is all the more appreciated. My only goal is to produce a book that can compile in pdf, epub, and html, BUT produce slides at the same time... in the original spirit of
beamer
...By filing an issue to this repo, I promise that
xfun::session_info('bookdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/bookdown')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: