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().