tidyverse / reprex

Render bits of R code for sharing, e.g., on GitHub or StackOverflow.

Home Page:https://reprex.tidyverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate "custom function to convert Markdown input to the desired output format now"

jennybc opened this issue · comments

From the rmarkdown NEWS:

rmarkdown 2.18 2022-11-09

Custom output formats can provide a custom function to convert Markdown input to the desired output format now. To do so, define the output format via output_format(pandoc = pandoc_options(convert_fun = function(...) {})). The default converting function is pandoc_convert() in this package. See the help page ?pandoc_options for more details.

Seems possibly relevant to reprex_render().