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

33 lines
548 B
Markdown
Raw Normal View History

+++
weight = 36
+++
{{< markdown >}}
## Markdown Shortcode
This markdown is not processed by Hugo, but by Reveal.js itself.
---
## 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="blue" -->
For example, an HTML comment can change the background color of a slide.
```
{{</* markdown */>}}
<!-- .slide: data-background="blue" -->
# I'm a blue slide
{{</* /markdown */>}}
```
{{< /markdown >}}