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

32 lines
575 B
Markdown

+++
weight = 36
+++
{{< markdown >}}
## Markdown Shortcode
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 >}}