knitr
knitr copied to clipboard
A general-purpose tool for dynamic report generation in R
Among docx, pptx, rtf, and odt, pptx is the only format that does not support width and height. Do we need warning when output is pptx and out.width and out.height...
This would be nice to have `fig.alt` work also for other outputs than Pandoc supports. See discussion and notes : * About support in DOCX: https://github.com/yihui/knitr/pull/1900#issuecomment-717101270 * About support in...
It would be useful if plot methods could register default alt text to use when `fig.alt` is not supplied. I'm not sure how exactly this would work, but maybe knitr...
With this type of document where a link is added in the caption for example: ````markdown --- output: html_document: keep_md: true self_contained: FALSE --- # Setup ```{r, fig.cap = "here...
I have a document `test.Rmd` which consists only of: ```` ```{r} knitr::read_chunk(here::here("code.R")) ``` ```` (`code.R` exists but could be empty). When I run `r knitr::purl("test.Rmd")` I get: ``` processing file:...
I wanted to share some ideas about how I think including a url with `include_*` would have worked. This is for discussion to see what should / could be considered...
It would be interesting to be able to modify the table caption position from "top" to "bottom", similarly to what `fig.topcation=TRUE` does for caption figures to allow putting them on...
This is an old PR that was killed about 1.5 years ago. Here is the branch I had to fix https://github.com/yihui/knitr/pull/1752. I'm not sure it sill is going to fix...
Pandoc has `link_attributes` extension activated by default. https://pandoc.org/MANUAL.html#extension-link_attributes This allows to set height and width using a Markdown syntax. Currently **knitr** use a LaTeX syntax (`hook_plot_tex()` if one of the...
Addresses https://github.com/rstudio/bookdown/issues/74#issuecomment-251561867