Is there a way to customize syntax highlighting for a presentation in reveal.js without using the default zenburn theme? I specifically want to highlight code written in R. I tried creating custom CSS for R using highlight.js, but ran into an issue where highlight.js uses 'hljs' to denote code in HTML while reveal.js uses 'pre code.' For instance, the highlight.js CSS is structured like this:
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #fdf6e3;
color: #657b83;
-webkit-text-size-adjust: none;
}
On the other hand, the reveal.js highlighting CSS looks like this:
pre code {
display: block;
padding: 0.5em;
background: #3F3F3F;
color: #DCDCDC;
}
Are there alternate themes available for syntax highlighting in reveal.js, or is it necessary to manually change all the selectors?