use rmarkdown::render to build html