mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-07 14:03:33 +02:00
Improve docs for adding speaker notes
This commit is contained in:
@@ -2,26 +2,42 @@
|
|||||||
weight = 38
|
weight = 38
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Note
|
## Notes
|
||||||
|
|
||||||
Add speaker notes to your presentation with the note shortcode.
|
Add speaker notes to your presentation with the `note` shortcode. Type 's' to see this slide's speaker notes.
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
|
---
|
||||||
|
|
||||||
{{%/* note */%}}
|
{{%/* note */%}}
|
||||||
|
You found the speaker notes!
|
||||||
Type 's' to see this slide's speaker notes.
|
|
||||||
|
|
||||||
{{%/* /note */%}}
|
{{%/* /note */%}}
|
||||||
|
|
||||||
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
|
|
||||||
You found the speaker notes!
|
You found the speaker notes!
|
||||||
|
|
||||||
{{% /note %}}
|
{{% /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>
|
<section data-noprocess>
|
||||||
<h2>Write slides in HTML</h2>
|
<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>
|
<p>Use a <code>section</code> tag with a <code>data-noprocess</code> attribute to avoid any processing by reveal-hugo.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user