Syntax Highlighting in Hugo with blogdown in Rmarkdown

You can let .Rmd generate .md output instead of the default .html by setting options(blogdown.method = 'markdown') in your .Rprofile. See this section in the blogdown book.

Then restart R, delete index.html, and serve the site again.