{r setup, include=FALSE} knitr::opts_chunk$set(eval = FALSE) 本文于r format(Sys.Date(), "%Y-%m-%d")更新。 如发现问题或者有建议,欢迎提交 Issue
加标题 [@DT]
{r} iris %>% datatable(caption = "Table 1: This is a simple caption for the table.")

表格中插入链接 [@DT]
{r} '<a href="http://rstudio.com">RStudio</a>' %>% as_tibble() %>% datatable(escape = F)

escape = F参数可以让文本变成超链接。