rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

change pandoc_convert return.

Open estedeahora opened this issue 3 months ago • 0 comments

Hi, I think it would be a nice improvement to pandoc_convert if, instead of returning NULL, it would invisibly return the command used in the pandoc call ('command').

This would only require modifying line 109 of pandoc.R to the following: invisible(command). I don't think this will create too many changes for current users and could be beneficial for use in other functions. On the other hand, I think it should be independent of 'verbose', as verbose prints to the screen, which is not a behaviour that is useful in all cases.

estedeahora avatar Apr 03 '24 12:04 estedeahora