向 R Markdown 文件添加样式

Adding styles to R Markdown File

这是我的代码。真的只是一个例子。

##Data
###This is the table where we can display stuff. Easy to do.
Test Table | Second header
-------    | -------
cell 1     | _cell 2_
cell 3     | cell 4

我想要一些附加了 类 的 div,这样我就可以制作自己的 CSS 文件。但我什至不知道该怎么做或从哪里开始。我已经做了一些研究,但找不到关于伟大 Google 的太多信息。然后我意识到我必须完成另一项任务,即在 <link> 标记中将样式表添加到 HTML 文件。

我的三个问题

感谢@JasonAizkalns,弄明白了。

---
title: "Test Page"
output:
html_document:
theme: journal
---

主题选项如下:

"default"、"cerulean"、"journal"、"flatly"、"readable"、"spacelab"、"united"、"cosmo"