33 lines
564 B
Markdown
33 lines
564 B
Markdown
+++
|
|
weight = 36
|
|
+++
|
|
|
|
{{< markdown >}}
|
|
|
|
## Markdown
|
|
|
|
Reveal.js has its own [markdown processor](https://github.com/hakimel/reveal.js#markdown). To use that instead of Hugo, surround a slide with the markdown shortcode.
|
|
|
|
```
|
|
{{</* markdown */>}}
|
|
|
|
# Hello world!
|
|
|
|
{{</* /markdown */>}}
|
|
```
|
|
|
|
---
|
|
|
|
<!-- .slide: data-background="#FF4081" -->
|
|
|
|
Reveal.js markdown uses HTML comments to change slide properties, like background color.
|
|
|
|
```
|
|
{{</* markdown */>}}
|
|
<!-- .slide: data-background="#FF4081" -->
|
|
# I'm a colorful slide
|
|
{{</* /markdown */>}}
|
|
```
|
|
|
|
{{< /markdown >}}
|
|
|