"Plugin" content processing (eg., rmarkdown to markdown)

I write a lot of literate programming material using rmarkdown and some via emacs org-mode. Is there a mechanism in hugo to define preprocessing steps (such as running R to generate markdown from rmarkdown) for content with given extension? Alternatively, is it possible to define a custom content processor for hugo that can operate on .Rmd files?


Currently no to both, but I’m pretty sure a serch for “plugin” will give you some background.