- 已编辑
下面是很简单的一段代码
---
title: "new article"
author: "None"
output: html_document
---
# display
I want to display the following chinese, but failed.
新的一天
```{r}
knitr::kable(
mtcars[1:5, ],
caption = "表格名称")
运行之后,网页的显示为
new article
None
display
I want to display the following chinese, but failed.
鏂扮殑涓€澶
knitr::kable(
mtcars[1:5, ],
caption = "琛ㄦ牸鍚嶇О")
琛ㄦ牸鍚嶇О
研究了一上午了,仍然没有找到解决方法。