如何获得html输出的绿色语法突出显示?
我在Rstudio中遇到了由如何获得html输出的绿色语法突出显示?,html,css,rstudio,knitr,Html,Css,Rstudio,Knitr,我在Rstudio中遇到了由Knit to html制作的html 我已经在Rstudio中尝试了所有选项,但无法得到相同的结果 你能解释一下如何得到这个主题吗?以下是我的设置: output: html_document: toc: yes highlight: tango theme: journal number_subsections: no word_document: toc: yes pdf_document: to
Knit to html
制作的html
我已经在Rstudio中尝试了所有选项,但无法得到相同的结果
你能解释一下如何得到这个主题吗?以下是我的设置:
output:
html_document:
toc: yes
highlight: tango
theme: journal
number_subsections: no
word_document:
toc: yes
pdf_document:
toc: yes
number_sections: yes
always_allow_html: true
如果这个主题不存在,那么它肯定是一个自定义主题。尝试黑暗主题或跟随此链接了解更多信息。 这是设置主题的另一个链接