RMarkdown 使用 readthedown 模板编织,只显示颜色

RMarkdown using readthedown template to knit, only show colors

刚刚安装了包,并尝试使用 readthedown 模板,但是当我将它编织到 html 时。文件,一切运行顺利,但我得到了这个页面 as you can see in the screenshot

---
title: ""
date: "`r Sys.Date()`"
output:
  rmdformats::material:
    highlight: kate
---

问题是,您没有任何内容可显示...所以它看起来全是绿色的。您的 "header" ##babe I like your stlye 在 r 代码中。 当我按以下方式 运行 你的代码时,一切正常:

---
title: ""
date: "`r Sys.Date()`"
output:
  rmdformats::material:
    highlight: kate
---

# Summary

```{r}
summary(mtcars)
```
# Plot

```{r}
plot(mtcars$mpg, mtcars$hp)
```