Evaluate a Rmarkdown codechunk only for certain document type (html_document vs pdf_document)

后端 未结 0 1287
长情又很酷
长情又很酷 2021-02-01 22:59

I\'d like to add an interactive map (a leaflet) to my HTML document, but this can\'t be done in a PDF document since they are static.

I know that Rmarkdown can choose to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题