themen-hugo-35c3-reveal/exampleSite/content/home/shortcodes/markdown.md

33 lines
575 B
Markdown
Raw Normal View History

+++
weight = 36
+++
{{< markdown >}}
## Markdown Shortcode
2018-05-01 01:05:45 -05:00
This markdown is not processed by Hugo, but passed directly through to Reveal.js.
---
## Markdown Shortcode
Many handy slide shortcuts and customizations are possible.
[See the Reveal.js markdown docs](https://github.com/hakimel/reveal.js#markdown)
---
<!-- .slide: data-background="#FF4081" -->
For example, an HTML comment can change the background color of a slide.
```
{{</* markdown */>}}
<!-- .slide: data-background="#FF4081" -->
# I'm a colorful slide
{{</* /markdown */>}}
```
{{< /markdown >}}