2018-04-30 20:47:20 -05:00
+++
weight = 36
+++
{{< markdown > }}
2018-07-19 09:49:24 -05:00
## Markdown
2018-04-30 20:47:20 -05:00
2018-07-21 03:55:03 -05:00
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.
2018-04-30 20:47:20 -05:00
2018-08-03 09:07:12 -05:00
```markdown
2018-07-19 09:49:24 -05:00
{{< /* markdown */>}}
2018-07-21 03:55:03 -05:00
2018-07-19 09:49:24 -05:00
# Hello world!
2018-07-21 03:55:03 -05:00
2018-07-19 09:49:24 -05:00
{{< /* /markdown */>}}
```
2018-04-30 20:47:20 -05:00
2018-07-22 04:50:50 -05:00
< br >
< small >
💡 Make sure to use the `{{</* */>}}` shortcode syntax to avoid rendering by Hugo.
< / small >
2018-04-30 20:47:20 -05:00
---
2018-05-01 03:46:00 -05:00
<!-- .slide: data - background="#FF4081" -->
2018-04-30 20:47:20 -05:00
2018-07-21 03:55:03 -05:00
Reveal.js markdown uses HTML comments to change slide properties, like background color.
2018-04-30 20:47:20 -05:00
2018-08-03 09:07:12 -05:00
```markdown
2018-05-01 01:02:09 -05:00
{{< /* markdown */>}}
2018-05-01 03:46:00 -05:00
<!-- .slide: data - background="#FF4081" -->
# I'm a colorful slide
2018-05-01 01:02:09 -05:00
{{< /* /markdown */>}}
2018-04-30 20:47:20 -05:00
```
{{< / markdown > }}
2018-07-19 09:49:24 -05:00