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:
@@ -4,23 +4,27 @@ weight = 38
|
||||
|
||||
## Note
|
||||
|
||||
Add speaker notes to your presentation.
|
||||
Add speaker notes to your presentation with the note shortcode.
|
||||
|
||||
```markdown
|
||||
{{%/* note */%}}
|
||||
|
||||
Type 's' to see this slide's speaker notes.
|
||||
|
||||
{{%/* /note */%}}
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
||||
You found the speaker notes!
|
||||
|
||||
{{% /note %}}
|
||||
|
||||
---
|
||||
|
||||
<section data-noprocess>
|
||||
<h2>Pure HTML Slide</h2>
|
||||
<p>Surround slides in a <code>section</code> tag with a <code>data-noprocess</code> attribute to write them in pure HTML.</p>
|
||||
<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>
|
||||
<section data-noprocess>
|
||||
<h1>Hello world!</h1>
|
||||
|
||||
Reference in New Issue
Block a user