@@ -1248,10 +1251,10 @@ Special syntax (through HTML comments) is available for adding attributes to the
```html
<sectiondata-markdown>
<script type="text/template">
<!--.slide:data-background="#ff0000"-->
Markdowncontent
</script>
<script type="text/template">
<!--.slide:data-background="#ff0000"-->
Markdowncontent
</script>
</section>
```
...
...
@@ -1261,11 +1264,11 @@ We use [marked](https://github.com/chjj/marked) to parse Markdown. To customise
```javascript
Reveal.initialize({
// Options which are passed into marked
// See https://marked.js.org/#/USING_ADVANCED.md#options
markdown:{
smartypants:true
}
// Options which are passed into marked
// See https://marked.js.org/#/USING_ADVANCED.md#options
markdown:{
smartypants:true
}
});
```
...
...
@@ -1337,11 +1340,11 @@ When used locally, this feature requires that reveal.js [runs from a local web s
```html
<section>
<h2>Some Slide</h2>
<h2>Some Slide</h2>
<asideclass="notes">
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit »S« on your keyboard).
</aside>
<asideclass="notes">
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit »S« on your keyboard).
</aside>
</section>
```
...
...
@@ -1382,12 +1385,12 @@ In some cases it can be desirable to run notes on a separate device from the one
```javascript
Reveal.initialize({
// ...
// ...
dependencies:[
{src:'socket.io/socket.io.js',async:true},
{src:'plugin/notes-server/client.js',async:true}
]
dependencies:[
{src:'socket.io/socket.io.js',async:true},
{src:'plugin/notes-server/client.js',async:true}
]
});
```
...
...
@@ -1406,7 +1409,7 @@ When reveal.js is booted up via `Reveal.initialize()`, it will go through all re
It can also play the role of static file server for your master presentation and client presentations at the same time (as long as you don't want to use speaker notes). (Open [https://reveal-js-multiplex-ccjbegmaii.now.sh/](https://reveal-js-multiplex-ccjbegmaii.now.sh/) in two browsers. Navigate through the slides on one, and the other will update to match. Navigate through the slides on the second, and the first will update to match.) This is probably not desirable, because you don't want your audience to mess with your slides while you're presenting. ;)
...
...
@@ -1541,23 +1544,23 @@ Example configuration:
```javascript
Reveal.initialize({
// other options...
multiplex:{
// Example values. To generate your own, see the socket.io server instructions.
secret:'13652805320794272084',// Obtained from the socket.io server. Gives this (the master) control of the presentation
id:'1ea875674b17ca76',// Obtained from socket.io server
url:'example.com:80'// Location of your socket.io server