Right Arrow
or Space
Left Arrow
Home
End
Esc
S
F
Alt + Click
E
Inline code: variable
Code block:
porridge <span style="color:#f92672">=</span> <span style="color:#e6db74"></span><span style="color:#e6db74">"</span><span style="color:#e6db74">blueberry</span><span style="color:#e6db74">"</span>
<span style="color:#66d9ef">if</span> porridge <span style="color:#f92672">==</span> <span style="color:#e6db74"></span><span style="color:#e6db74">"</span><span style="color:#e6db74">blueberry</span><span style="color:#e6db74">"</span>:
<span style="color:#66d9ef">print</span>(<span style="color:#e6db74"></span><span style="color:#e6db74">"</span><span style="color:#e6db74">Eating...</span><span style="color:#e6db74">"</span>)
In-line math: x+y=z
Block math:
f(x)=;2(x+4)(x−4)(x+4)(x+1)
Make content appear incrementally
{{% fragment %}} One {{% /fragment %}}
{{% fragment %}} **Two** {{% /fragment %}}
{{% fragment %}} Three {{% /fragment %}}
Press Space
to play!
One Two Three
A fragment can accept two optional parameters:
class
: use a custom style (requires definition in custom CSS)weight
: sets the order in which a fragment appearsAdd speaker notes to your presentation
Press the S
key to view the speaker notes!
Customize the slide style and background
{{< slide background-image="/img/boards.jpg" >}}
{{< slide background-color="#0000FF" >}}
{{< slide class="my-style" >}}
Let's make headers navy colored.
Create assets/css/reveal_custom.css
with:
.<span style="color:#a6e22e">reveal</span> <span style="color:#f92672">section</span> <span style="color:#f92672">h1</span><span style="color:#f92672">,</span>
.<span style="color:#a6e22e">reveal</span> <span style="color:#f92672">section</span> <span style="color:#f92672">h2</span><span style="color:#f92672">,</span>
.<span style="color:#a6e22e">reveal</span> <span style="color:#f92672">section</span> <span style="color:#f92672">h3</span> {
<span style="color:#66d9ef">color</span>: <span style="color:#66d9ef">navy</span>;
}