mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 14:03:33 +02:00
Update exampleSite to show slide shortcode content attribute
This commit is contained in:
@@ -6,21 +6,21 @@ weight = 36
|
||||
|
||||
## Markdown
|
||||
|
||||
Markdown is not processed by Hugo but passed directly through to Reveal.js.
|
||||
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.
|
||||
|
||||
```
|
||||
{{</* markdown */>}}
|
||||
|
||||
# Hello world!
|
||||
|
||||
{{</* /markdown */>}}
|
||||
```
|
||||
|
||||
[See the Reveal.js markdown docs](https://github.com/hakimel/reveal.js#markdown)
|
||||
|
||||
---
|
||||
|
||||
<!-- .slide: data-background="#FF4081" -->
|
||||
|
||||
Reveaj.js Markdown uses HTML comments to change slide properties, like background color.
|
||||
Reveal.js markdown uses HTML comments to change slide properties, like background color.
|
||||
|
||||
```
|
||||
{{</* markdown */>}}
|
||||
|
||||
Reference in New Issue
Block a user