This repository has been archived on 2024-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
vitrine/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md

50 lines
917 B
Markdown
Raw Permalink Normal View History

2022-01-05 23:28:57 +01:00
+++
weight = 38
+++
## Notes
Add speaker notes (with markdown) to your presentation with the `note` shortcode. Type 's' to see this slide's speaker notes.
```markdown
---
{{%/* note */%}}
- You found the **speaker notes**!
{{%/* /note */%}}
---
```
{{% note %}}
- You found the **speaker notes**!
{{% /note %}}
---
{{< slide notes="You found the notes!" >}}
## Notes
You can also add notes with the `slide` shortcode and `notes` attribute:
```markdown
---
{{%/* slide notes="You found the notes!" */%}}
---
```
---
<section data-noprocess>
<h2>Write slides in HTML</h2>
<p>Use a <code>section</code> tag with a <code>data-noprocess</code> attribute to avoid any processing by reveal-hugo.</p>
<pre>
&lt;section data-noprocess&gt;
&lt;h1&gt;Hello world!&lt;/h1&gt;
&lt;/section&gt;</pre>
<small>💡 This is useful if you can't get Markdown to output exactly what you want.</small>
</section>