【发布时间】:2015-07-20 15:09:29
【问题描述】:
在使用 html_document 时,我可以在 RMarkdown 前文中指定 highlight.js 样式吗?
示例:
而不是使用pandoc 的espresso 突出显示我想要highlight.js 的tommorrow 高亮生活here
---
title: "Untitled"
output:
html_document:
highlight: espresso
---
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
```{r}
summary(cars)
```
etc...
我该怎么做?
【问题讨论】:
标签: r rstudio r-markdown pandoc