This repository has been archived on 2022-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
verticallyalignedcarbonnano.../themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md
2020-10-24 18:58:03 -05:00

688 B

+++ weight = 36 +++

{{< markdown >}}

Markdown

Reveal.js has its own markdown processor. To use that instead of Hugo, surround a slide with the markdown shortcode.

{{</* markdown */>}}

# Hello world!

{{</* /markdown */>}}

💡 Make sure to use the `{{}}` shortcode syntax to avoid rendering by Hugo.

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 >}}