support for named links (closes #55)

This commit is contained in:
Hakim El Hattab 2012-08-20 22:13:00 -04:00
parent 5bd5ac67a4
commit 141d69469c
3 changed files with 69 additions and 19 deletions

View file

@ -165,6 +165,15 @@ Reveal.addEventListener( 'fragmenthidden', function( event ) {
} );
```
### Internal links
It's easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (```<section id="'"some-slide">```):
```html
<a href="#/2/2">Link</a>
<a href="#/some-slide">Link</a>
```
## PDF Export
Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome).