Christophe Dervieux

Results 362 issues of Christophe Dervieux

Maybe we could add a part about some example of enabling / disabling Pandoc's extension, specifically for non default Pandoc's one: https://pandoc.org/MANUAL.html#non-pandoc-extensions One famous example is the [emoji support](https://pandoc.org/MANUAL.html#extension-emoji) 😄...

I think there are some known limitations around the ecosystem, which are often reminded throughout Github questions. Maybe having a dedicated part to highlight them would be interesting. * Adding...

Example of macros used in the wild: * from @mivalek in https://github.com/yihui/xaringan/issues/96#issuecomment-735161231 : several slides versions in a single file

From a question in https://stackoverflow.com/questions/33107908/how-to-tell-if-code-is-executed-within-a-knitr-rmarkdown-context ```r getOption('knitr.in.progress') ``` Mentioned here too https://github.com/yihui/knitr/issues/926#issuecomment-68503962 And was selected as one of stackoverflow snippet: https://github.com/nfultz/stackoverflow/blob/master/R/is.knitr.in.progress.R

I think we could add something about using `knitr::asis_output` as an alternative to `result = 'asis'`, like we did for the `import_example` function https://github.com/yihui/rmarkdown-cookbook/blob/9931f7644fb8a7becde55925da4aaf224321f392/index.Rmd#L59-L67 We did not mentioned it yet...

I think this would benefit to be an example in the book https://github.com/rstudio/bookdown/issues/1037

See discussion in https://github.com/rstudio/rmarkdown/issues/1954#issuecomment-733070556 With this, markdown table will be used, and displayed using bootstrap style by **rmarkdown** ````md --- title: "table format" output: html_document --- ```{r} knitr::kable(iris) ``` ````...

As commented in https://github.com/rstudio/rmarkdown/issues/1956#issuecomment-732658044, we have a recipe that uses `--atx-headers`: https://bookdown.org/yihui/rmarkdown-cookbook/lua-filters.html We should add a not that this argument is deprecated in Pandoc 2.11.2

This follows a question here https://github.com/rstudio/rmarkdown/issues/1911 Basically, Word has Character Style and Paragraphe Style so you need to take care when applying using Pandoc ````md --- title: "testing custom styles...

This is from a tweet https://twitter.com/clauswilke/status/1303061232660996103?s=21 Add some examples regarding `github_document` Customization and how to create a specific md output format using pandoc format and extensions.