I'm trying to create a template for my slides. I'm using reveal.js
as my framework. I'm using the slidify package in Rstudio.
I have saved the following text to as an html file in assets/layouts
:
---
layout: slide
---
{{{ slide.content }}}
<style>
p {
color: #00BFFF;
position: relative;
line-height: 1;
}
</style>
And for the slide(s) that I want to have this style, I mark them like this:
--- &test
### a header
some text
Unfortunately, this changes the formatting of the text for every slide in the presentation, even those where I haven't added &test
to the slide divider. The only text that doesn't change are those wrapped in <p> text </p>
HTML tags.
Thanks.