Christophe Dervieux

Results 362 issues of Christophe Dervieux

At least small examples and links to where to look for more ```` --- output: html_document: default --- ```{scss} $main-color: salmon; .bright { background-color: $main-color; } ``` This is a...

Looking for detailed information on `runtime:shiny_prerendered` I just saw that the book does not explain this format of the rmarkdown 📦 . It is only mentioned in the _Interactive Tutorial_...

For the next guy who comes here via google, here is a version of the lua script adapted to support hex-style RGB colors, and yes it also works with vanilla...

documentation

In there: https://bookdown.org/yihui/rmarkdown-cookbook/results-asis.html Because it seems user can get confused with inline R expression: https://github.com/quarto-dev/quarto-cli/issues/1143#issuecomment-1156164849

* Showing how it works * Documenting `sql.show_interpolated` (https://community.rstudio.com/t/get-sql-code-from-sql-chunk-with-variables-evaluated/136982/11 and https://github.com/yihui/knitr/issues/2131 from https://github.com/yihui/knitr/pull/1357), https://github.com/rstudio/rmarkdown/issues/2505 * Demoing `glue_sql` engine from **glue** 📦 (https://glue.tidyverse.org/articles/engines.html) * New feature / option from https://github.com/yihui/knitr/pull/2128

documentation

Talk somehow about how knitr can work with several input document pretty easily by using _patterns_ Included pattern are : ```r pat_rnw() pat_brew() pat_tex() pat_html() pat_md() pat_rst() pat_asciidoc() pat_textile() ```...

cover image works for epub document. For PDF document, some command must be passed between `\begin{document}` and `\maketitle` - this is not supported in the Pandoc template by default. One...

From a question on GH: https://github.com/rstudio/rmarkdown/issues/1829 This will work if you want to use the `\cancel` syntax ```md --- title: "assignment" author: "author" output: html_document --- $$ \require{cancel} \cancel{x} $$...

One can add ```yaml suppress-bibliography: true ``` Pandoc Manual: https://pandoc.org/MANUAL.html#placement-of-the-bibliography To be included in here: https://bookdown.org/yihui/rmarkdown-cookbook/bibliography.html

From https://github.com/yihui/knitr/issues/1816 `cache.comments` chunk option is for that. From: https://yihui.org/knitr/options/ > cache.comments: (NULL; logical) If FALSE, changing comments in R code chunks will not invalidate the cache database.