Update exampleSite to show slide shortcode content attribute

This commit is contained in:
dzello
2018-07-21 10:55:03 +02:00
parent 836c449d0c
commit e0c548e404
6 changed files with 64 additions and 11 deletions
+7 -3
View File
@@ -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>
&lt;section data-noprocess&gt;
&lt;h1&gt;Hello world!&lt;/h1&gt;