Add note shortcode
This commit is contained in:
parent
3733eaf903
commit
05130b7ce6
2 changed files with 18 additions and 0 deletions
|
@ -78,3 +78,20 @@ Keep scrolling down.
|
|||
Use the right arrow or swipe right to continue.
|
||||
|
||||
{{% /section %}}
|
||||
|
||||
---
|
||||
|
||||
### Note shortcode
|
||||
|
||||
Add speaker notes to your presentation.
|
||||
|
||||
```markdown
|
||||
{{%/* note */%}}
|
||||
Type 's' to see this slide's speaker notes.
|
||||
{{%/* /note */%}}
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
You found the speaker notes!
|
||||
{{% /note %}}
|
||||
|
||||
|
|
1
layouts/shortcodes/note.html
Normal file
1
layouts/shortcodes/note.html
Normal file
|
@ -0,0 +1 @@
|
|||
<aside class="notes">{{ .Inner }}</aside>
|
Loading…
Reference in a new issue