<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
<!-- Slides are separated by three dashes (the default) -->
## Demo 1
Slide 1
---
## Demo 1
Slide 2
---
## Demo 1
Slide 3
<!-- Slides are separated by regexp matching newline + three dashes + newline, vertical slides identical but two dashes -->
## Demo 2
Slide 1.1
--
## Demo 2
Slide 1.2
---
## Demo 2
Slide 2
<!-- No "extra" slides, since the separator can't be matched ("---" will become horizontal rulers) -->
A
---
B
---
C
<!-- Slide attributes -->
<!-- .slide: data-background="#000000" -->
## Slide attributes
<!-- Element attributes -->
## Element attributes
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
<!-- Code -->
```php [1|3-5]
public function foo()
{
$foo = array(
'bar' => 'bar'
)
}
```
<!-- add optional line count offset, in this case 287 -->
## echo.c
```c [287: 2|4,6]
/* All of the options in this arg are valid, so handle them. */
p = arg + 1;
do {
if (*p == 'n')
nflag = 0;
if (*p == 'e')
eflag = '\\';
} while (*++p);
```
[source](https://git.busybox.net/busybox/tree/coreutils/echo.c?h=1_36_stable#n287)
<!-- Images -->

<!-- Math -->
## The Lorenz Equations
`\[\begin{aligned}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{aligned} \]`
reveal.js - Markdown Example