Commit ce2ce79fa0fa3d1350a211541abe89d56d2d151b

Authored by Rafael Peretti Pezzi
0 parents

Criando repositório do modelo de apresentação

Showing 117 changed files with 22341 additions and 0 deletions

Too many changes.

To preserve performance only 100 of 117 files are displayed.

.gitignore 0 → 100644
  1 +++ a/.gitignore
  1 +_site
  2 +.sass-cache
  3 +.jekyll-metadata
... ...
Gemfile 0 → 100644
  1 +++ a/Gemfile
  1 +source "https://rubygems.org"
  2 +ruby RUBY_VERSION
  3 +
  4 +# Hello! This is where you manage which Jekyll version is used to run.
  5 +# When you want to use a different version, change it below, save the
  6 +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
  7 +#
  8 +# bundle exec jekyll serve
  9 +#
  10 +# This will help ensure the proper Jekyll version is running.
  11 +# Happy Jekylling!
  12 +gem "jekyll", "3.4.3"
  13 +
  14 +# This is the default theme for new Jekyll sites. You may change this to anything you like.
  15 +gem "minima", "~> 2.0"
  16 +
  17 +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
  18 +# uncomment the line below. To upgrade, run `bundle update github-pages`.
  19 +# gem "github-pages", group: :jekyll_plugins
  20 +
  21 +# If you have any plugins, put them here!
  22 +group :jekyll_plugins do
  23 + gem "jekyll-feed", "~> 0.6"
  24 +end
  25 +
  26 +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  27 +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  28 +
... ...
_config.yml 0 → 100644
  1 +++ a/_config.yml
  1 +# Welcome to Jekyll!
  2 +#
  3 +# This config file is meant for settings that affect your whole blog, values
  4 +# which you are expected to set up once and rarely edit after that. If you find
  5 +# yourself editing this file very often, consider using Jekyll's data files
  6 +# feature for the data you need to update frequently.
  7 +#
  8 +# For technical reasons, this file is *NOT* reloaded automatically when you use
  9 +# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
  10 +
  11 +# Site settings
  12 +# These are used to personalize your new site. If you look in the HTML files,
  13 +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
  14 +# You can create any custom variable you would like, and they will be accessible
  15 +# in the templates via {{ site.myvariable }}.
  16 +#title: Modelo de Apresentação
  17 +#description: Adding a new dimension on how the environment is perceived by humans
  18 +
  19 +baseurl: "/~pezzi/apresentação_modelo" # the subpath of your site, e.g. /blog
  20 +url: "" # the base hostname & protocol for your site, e.g. http://example.com
  21 +
  22 +
  23 +# Build settings
  24 +markdown: kramdown
  25 +theme: minima
  26 +gems:
  27 + - jekyll-feed
  28 +exclude:
  29 + - Gemfile
  30 + - Gemfile.lock
... ...
_layouts/slide.html 0 → 100644
  1 +++ a/_layouts/slide.html
  1 +<!doctype html>
  2 +<html lang="en">
  3 + <head>
  4 + <meta charset="utf-8">
  5 +
  6 + <title>
  7 + {% if page.title %}
  8 + {{ page.title }} | {{ site.title }}
  9 + {% else %}
  10 + {{ site.title }}
  11 + {% endif %}
  12 + </title>
  13 +
  14 + <meta name="author" content="{{ site.author }}" />
  15 +
  16 + <!-- Description -->
  17 + {% if page.description %}
  18 + <meta name="description" content="{{ page.description }}" />
  19 + {% else %}
  20 + <meta name="description" content="{{ site.description }}">
  21 + {% endif %}
  22 +
  23 + <meta name="apple-mobile-web-app-capable" content="yes" />
  24 + <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  25 +
  26 + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
  27 +
  28 + <link rel="stylesheet" href="{{ "/reveal.js/css/reveal.css" | prepend: site.baseurl }}"/>
  29 + {%if page.theme %}
  30 + <link rel="stylesheet" href="{{ "/reveal.js/css/theme/" | prepend: site.baseurl | append: page.theme | append: '.css' }}" id="theme"/>
  31 + {% else %}
  32 + <link rel="stylesheet" href="{{ "/reveal.js/css/theme/black.css" | prepend: site.baseurl }}" id="theme"/>
  33 + {% endif %}
  34 +
  35 + <!-- Code syntax highlighting -->
  36 + <link rel="stylesheet" href="{{ "/reveal.js/lib/css/zenburn.css" | prepend: site.baseurl }}"/>
  37 +
  38 + <!-- Printing and PDF exports -->
  39 + <script>
  40 + var link = document.createElement( 'link' );
  41 + link.rel = 'stylesheet';
  42 + link.type = 'text/css';
  43 + link.href = window.location.search.match( /print-pdf/gi ) ? '{{ "/reveal.js/css/print/pdf.css" | prepend: site.baseurl }}' : '{{ "/reveal.js/css/print/paper.css" | prepend: site.baseurl }}';
  44 + document.getElementsByTagName( 'head' )[0].appendChild( link );
  45 + </script>
  46 +
  47 + <link rel="apple-touch-icon" href="{{ "/apple-touch-icon.png" | prepend: site.baseurl }}" />
  48 +
  49 + <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
  50 +
  51 + <!--[if lt IE 9]>
  52 + <script src="lib/js/html5shiv.js"></script>
  53 + <![endif]-->
  54 + </head>
  55 +
  56 + <body>
  57 +
  58 + <div class="reveal">
  59 + <div class="slides">
  60 + {{ content }}
  61 + </div>
  62 + </div>
  63 +
  64 + <script src="{{ "/reveal.js/lib/js/head.min.js" | prepend: site.baseurl }}"></script>
  65 + <script src="{{ "/reveal.js/js/reveal.js" | prepend: site.baseurl }}"></script>
  66 + <script>
  67 + // Full list of configuration options available at:
  68 + // https://github.com/hakimel/reveal.js#configuration
  69 + Reveal.initialize({
  70 + controls: true,
  71 + progress: true,
  72 + history: true,
  73 + center: true,
  74 + {%if page.transition %}
  75 + transition: '{{page.transition}}',
  76 + {% else %}
  77 + transition: 'slide', // none/fade/slide/convex/concave/zoom
  78 + {% endif %}
  79 + // Optional reveal.js plugins
  80 + dependencies: [
  81 + { src: '{{ "/reveal.js/lib/js/classList.js" | prepend: site.baseurl }}', condition: function() { return !document.body.classList; } },
  82 + { src: '{{ "/reveal.js/plugin/markdown/marked.js" | prepend: site.baseurl }}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  83 + { src: '{{ "/reveal.js/plugin/markdown/markdown.js" | prepend: site.baseurl }}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  84 + { src: '{{ "/reveal.js/plugin/highlight/highlight.js" | prepend: site.baseurl }}', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
  85 + { src: '{{ "/reveal.js/plugin/zoom-js/zoom.js" | prepend: site.baseurl }}', async: true },
  86 + { src: '{{ "/reveal.js/plugin/notes/notes.js" | prepend: site.baseurl }}', async: true }
  87 + ]
  88 + });
  89 + </script>
  90 +
  91 + </body>
  92 +</html>
... ...
_posts/2017-05-29-Slides.markdown 0 → 100644
  1 +++ a/_posts/2017-05-29-Slides.markdown
  1 +---
  2 +layout: slide
  3 +title: Título da Apresentação
  4 +description: Descrição da apresentação vem aqui
  5 +theme: beige
  6 +transition: slide
  7 +permalink: index.html
  8 +---
  9 +
  10 +<section data-markdown>
  11 +# Título da Apresentação
  12 +
  13 +## Subtítulo
  14 +
  15 +### Autor
  16 +</section>
  17 +
  18 +
  19 +
  20 +<section data-markdown>
  21 +## Para começar
  22 +
  23 +Modifique esta apresentação
  24 +
  25 +```
  26 +$ git clone https://git.cta.if.ufrgs.br/CTA/apresentacao-modelo.git
  27 +$ cd slides_demo
  28 +$ bundle exec jekyll serve
  29 +```
  30 +</section>
  31 +
  32 +
  33 +<section data-markdown>
  34 +## Adicione figuras!
  35 +
  36 +![Figura 1](http://cta.if.ufrgs.br/attachments/download/2148)
  37 +</section>
  38 +
  39 +
  40 +
  41 +<section data-markdown>
  42 +Utilize também
  43 +
  44 +* Temas
  45 +* Listas
  46 +* Tabelas
  47 +* MathJax
  48 +* Transições diversas
  49 +* ...
  50 +
  51 +</section>
  52 +
  53 +
  54 +<section data-markdown>
  55 +## Baseado em Reveal.js
  56 +
  57 +Desenvolvido por Hakim El Hattab
  58 +
  59 +Mais informações em http://lab.hakim.se/reveal-js/
  60 +
  61 +</section>
... ...
atualiza.sh 0 → 100755
  1 +++ a/atualiza.sh
  1 +rsync -av _site/ pezzi@lief.if.ufrgs.br:/home/pezzi/public_html/apresentação_modelo
... ...
include/640px-Thailand_484_song_khon.jpg 0 → 100644

82.5 KB

include/HelpingAnts-large.jpg 0 → 100644

48.3 KB

include/HelpingAnts-large.redimensionado.jpg 0 → 100644

6.46 KB

include/temperature.png 0 → 100644

64.7 KB

index.md 0 → 100644
  1 +++ a/index.md
  1 +---
  2 +# You don't need to edit this file, it's empty on purpose.
  3 +# Edit theme's home layout instead if you wanna make some changes
  4 +# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
  5 +layout: home
  6 +---
... ...
reveal.js/.gitignore 0 → 100644
  1 +++ a/reveal.js/.gitignore
  1 +.idea/
  2 +*.iml
  3 +*.iws
  4 +*.eml
  5 +out/
  6 +.DS_Store
  7 +.svn
  8 +log/*.log
  9 +tmp/**
  10 +node_modules/
  11 +.sass-cache
  12 +css/reveal.min.css
  13 +js/reveal.min.js
0 14 \ No newline at end of file
... ...
reveal.js/.travis.yml 0 → 100644
  1 +++ a/reveal.js/.travis.yml
  1 +language: node_js
  2 +node_js:
  3 + - 4.1.1
  4 +before_script:
  5 + - npm install -g grunt-cli
0 6 \ No newline at end of file
... ...
reveal.js/CONTRIBUTING.md 0 → 100644
  1 +++ a/reveal.js/CONTRIBUTING.md
  1 +## Contributing
  2 +
  3 +Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
  4 +
  5 +
  6 +### Personal Support
  7 +If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
  8 +
  9 +
  10 +### Bug Reports
  11 +When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
  12 +
  13 +
  14 +### Pull Requests
  15 +- Should follow the coding style of the file you work in, most importantly:
  16 + - Tabs to indent
  17 + - Single-quoted strings
  18 +- Should be made towards the **dev branch**
  19 +- Should be submitted from a feature/topic branch (not your master)
  20 +
  21 +
  22 +### Plugins
  23 +Please do not submit plugins as pull requests. They should be maintained in their own separate repository. More information here: https://github.com/hakimel/reveal.js/wiki/Plugin-Guidelines
... ...
reveal.js/Gruntfile.js 0 → 100644
  1 +++ a/reveal.js/Gruntfile.js
  1 +/* global module:false */
  2 +module.exports = function(grunt) {
  3 + var port = grunt.option('port') || 8000;
  4 + var root = grunt.option('root') || '.';
  5 +
  6 + if (!Array.isArray(root)) root = [root];
  7 +
  8 + // Project configuration
  9 + grunt.initConfig({
  10 + pkg: grunt.file.readJSON('package.json'),
  11 + meta: {
  12 + banner:
  13 + '/*!\n' +
  14 + ' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' +
  15 + ' * http://lab.hakim.se/reveal-js\n' +
  16 + ' * MIT licensed\n' +
  17 + ' *\n' +
  18 + ' * Copyright (C) 2017 Hakim El Hattab, http://hakim.se\n' +
  19 + ' */'
  20 + },
  21 +
  22 + qunit: {
  23 + files: [ 'test/*.html' ]
  24 + },
  25 +
  26 + uglify: {
  27 + options: {
  28 + banner: '<%= meta.banner %>\n'
  29 + },
  30 + build: {
  31 + src: 'js/reveal.js',
  32 + dest: 'js/reveal.min.js'
  33 + }
  34 + },
  35 +
  36 + sass: {
  37 + core: {
  38 + files: {
  39 + 'css/reveal.css': 'css/reveal.scss',
  40 + }
  41 + },
  42 + themes: {
  43 + files: [
  44 + {
  45 + expand: true,
  46 + cwd: 'css/theme/source',
  47 + src: ['*.sass', '*.scss'],
  48 + dest: 'css/theme',
  49 + ext: '.css'
  50 + }
  51 + ]
  52 + }
  53 + },
  54 +
  55 + autoprefixer: {
  56 + dist: {
  57 + src: 'css/reveal.css'
  58 + }
  59 + },
  60 +
  61 + cssmin: {
  62 + compress: {
  63 + files: {
  64 + 'css/reveal.min.css': [ 'css/reveal.css' ]
  65 + }
  66 + }
  67 + },
  68 +
  69 + jshint: {
  70 + options: {
  71 + curly: false,
  72 + eqeqeq: true,
  73 + immed: true,
  74 + esnext: true,
  75 + latedef: true,
  76 + newcap: true,
  77 + noarg: true,
  78 + sub: true,
  79 + undef: true,
  80 + eqnull: true,
  81 + browser: true,
  82 + expr: true,
  83 + globals: {
  84 + head: false,
  85 + module: false,
  86 + console: false,
  87 + unescape: false,
  88 + define: false,
  89 + exports: false
  90 + }
  91 + },
  92 + files: [ 'Gruntfile.js', 'js/reveal.js' ]
  93 + },
  94 +
  95 + connect: {
  96 + server: {
  97 + options: {
  98 + port: port,
  99 + base: root,
  100 + livereload: true,
  101 + open: true
  102 + }
  103 + },
  104 +
  105 + },
  106 +
  107 + zip: {
  108 + 'reveal-js-presentation.zip': [
  109 + 'index.html',
  110 + 'css/**',
  111 + 'js/**',
  112 + 'lib/**',
  113 + 'images/**',
  114 + 'plugin/**',
  115 + '**.md'
  116 + ]
  117 + },
  118 +
  119 + watch: {
  120 + js: {
  121 + files: [ 'Gruntfile.js', 'js/reveal.js' ],
  122 + tasks: 'js'
  123 + },
  124 + theme: {
  125 + files: [
  126 + 'css/theme/source/*.sass',
  127 + 'css/theme/source/*.scss',
  128 + 'css/theme/template/*.sass',
  129 + 'css/theme/template/*.scss'
  130 + ],
  131 + tasks: 'css-themes'
  132 + },
  133 + css: {
  134 + files: [ 'css/reveal.scss' ],
  135 + tasks: 'css-core'
  136 + },
  137 + html: {
  138 + files: root.map(path => path + '/*.html')
  139 + },
  140 + markdown: {
  141 + files: root.map(path => path + '/*.md')
  142 + },
  143 + options: {
  144 + livereload: true
  145 + }
  146 + },
  147 +
  148 + retire: {
  149 + js: ['js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js'],
  150 + node: ['.'],
  151 + options: {}
  152 + }
  153 +
  154 + });
  155 +
  156 + // Dependencies
  157 + grunt.loadNpmTasks( 'grunt-contrib-qunit' );
  158 + grunt.loadNpmTasks( 'grunt-contrib-jshint' );
  159 + grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
  160 + grunt.loadNpmTasks( 'grunt-contrib-uglify' );
  161 + grunt.loadNpmTasks( 'grunt-contrib-watch' );
  162 + grunt.loadNpmTasks( 'grunt-sass' );
  163 + grunt.loadNpmTasks( 'grunt-contrib-connect' );
  164 + grunt.loadNpmTasks( 'grunt-autoprefixer' );
  165 + grunt.loadNpmTasks( 'grunt-zip' );
  166 + grunt.loadNpmTasks( 'grunt-retire' );
  167 +
  168 + // Default task
  169 + grunt.registerTask( 'default', [ 'css', 'js' ] );
  170 +
  171 + // JS task
  172 + grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
  173 +
  174 + // Theme CSS
  175 + grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
  176 +
  177 + // Core framework CSS
  178 + grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
  179 +
  180 + // All CSS
  181 + grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
  182 +
  183 + // Package presentation to archive
  184 + grunt.registerTask( 'package', [ 'default', 'zip' ] );
  185 +
  186 + // Serve presentation locally
  187 + grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
  188 +
  189 + // Run tests
  190 + grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
  191 +
  192 +};
... ...
reveal.js/LICENSE 0 → 100644
  1 +++ a/reveal.js/LICENSE
  1 +Copyright (C) 2017 Hakim El Hattab, http://hakim.se, and reveal.js contributors
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is
  8 +furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
0 20 \ No newline at end of file
... ...
reveal.js/README.md 0 → 100644
  1 +++ a/reveal.js/README.md
  1 +# reveal.js [![Build Status](https://travis-ci.org/hakimel/reveal.js.svg?branch=master)](https://travis-ci.org/hakimel/reveal.js) <a href="https://slides.com?ref=github"><img src="https://s3.amazonaws.com/static.slid.es/images/slides-github-banner-320x40.png?1" alt="Slides" width="160" height="20"></a>
  2 +
  3 +A framework for easily creating beautiful presentations using HTML. [Check out the live demo](http://lab.hakim.se/reveal-js/).
  4 +
  5 +reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [Markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). There's also a fully featured visual editor and platform for sharing reveal.js presentations at [slides.com](https://slides.com?ref=github).
  6 +
  7 +## Table of contents
  8 +- [Online Editor](#online-editor)
  9 +- [Instructions](#instructions)
  10 + - [Markup](#markup)
  11 + - [Markdown](#markdown)
  12 + - [Element Attributes](#element-attributes)
  13 + - [Slide Attributes](#slide-attributes)
  14 +- [Configuration](#configuration)
  15 +- [Presentation Size](#presentation-size)
  16 +- [Dependencies](#dependencies)
  17 +- [Ready Event](#ready-event)
  18 +- [Auto-sliding](#auto-sliding)
  19 +- [Keyboard Bindings](#keyboard-bindings)
  20 +- [Touch Navigation](#touch-navigation)
  21 +- [Lazy Loading](#lazy-loading)
  22 +- [API](#api)
  23 + - [Slide Changed Event](#slide-changed-event)
  24 + - [Presentation State](#presentation-state)
  25 + - [Slide States](#slide-states)
  26 + - [Slide Backgrounds](#slide-backgrounds)
  27 + - [Parallax Background](#parallax-background)
  28 + - [Slide Transitions](#slide-transitions)
  29 + - [Internal links](#internal-links)
  30 + - [Fragments](#fragments)
  31 + - [Fragment events](#fragment-events)
  32 + - [Code syntax highlighting](#code-syntax-highlighting)
  33 + - [Slide number](#slide-number)
  34 + - [Overview mode](#overview-mode)
  35 + - [Fullscreen mode](#fullscreen-mode)
  36 + - [Embedded media](#embedded-media)
  37 + - [Stretching elements](#stretching-elements)
  38 + - [postMessage API](#postmessage-api)
  39 +- [PDF Export](#pdf-export)
  40 +- [Theming](#theming)
  41 +- [Speaker Notes](#speaker-notes)
  42 + - [Share and Print Speaker Notes](#share-and-print-speaker-notes)
  43 + - [Server Side Speaker Notes](#server-side-speaker-notes)
  44 +- [Multiplexing](#multiplexing)
  45 + - [Master presentation](#master-presentation)
  46 + - [Client presentation](#client-presentation)
  47 + - [Socket.io server](#socketio-server)
  48 +- [MathJax](#mathjax)
  49 +- [Installation](#installation)
  50 + - [Basic setup](#basic-setup)
  51 + - [Full setup](#full-setup)
  52 + - [Folder Structure](#folder-structure)
  53 +- [License](#license)
  54 +
  55 +#### More reading
  56 +- [Changelog](https://github.com/hakimel/reveal.js/releases): Up-to-date version history.
  57 +- [Examples](https://github.com/hakimel/reveal.js/wiki/Example-Presentations): Presentations created with reveal.js, add your own!
  58 +- [Browser Support](https://github.com/hakimel/reveal.js/wiki/Browser-Support): Explanation of browser support and fallbacks.
  59 +- [Plugins](https://github.com/hakimel/reveal.js/wiki/Plugins,-Tools-and-Hardware): A list of plugins that can be used to extend reveal.js.
  60 +
  61 +## Online Editor
  62 +
  63 +Presentations are written using HTML or Markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [https://slides.com](https://slides.com?ref=github).
  64 +
  65 +
  66 +## Instructions
  67 +
  68 +### Markup
  69 +
  70 +Here's a barebones example of a fully working reveal.js presentation:
  71 +```html
  72 +<html>
  73 + <head>
  74 + <link rel="stylesheet" href="css/reveal.css">
  75 + <link rel="stylesheet" href="css/theme/white.css">
  76 + </head>
  77 + <body>
  78 + <div class="reveal">
  79 + <div class="slides">
  80 + <section>Slide 1</section>
  81 + <section>Slide 2</section>
  82 + </div>
  83 + </div>
  84 + <script src="js/reveal.js"></script>
  85 + <script>
  86 + Reveal.initialize();
  87 + </script>
  88 + </body>
  89 +</html>
  90 +```
  91 +
  92 +The presentation markup hierarchy needs to be `.reveal > .slides > section` where the `section` represents one slide and can be repeated indefinitely. If you place multiple `section` elements inside of another `section` they will be shown as vertical slides. The first of the vertical slides is the "root" of the others (at the top), and will be included in the horizontal sequence. For example:
  93 +
  94 +```html
  95 +<div class="reveal">
  96 + <div class="slides">
  97 + <section>Single Horizontal Slide</section>
  98 + <section>
  99 + <section>Vertical Slide 1</section>
  100 + <section>Vertical Slide 2</section>
  101 + </section>
  102 + </div>
  103 +</div>
  104 +```
  105 +
  106 +### Markdown
  107 +
  108 +It's possible to write your slides using Markdown. To enable Markdown, add the `data-markdown` attribute to your `<section>` elements and wrap the contents in a `<textarea data-template>` like the example below.
  109 +
  110 +This is based on [data-markdown](https://gist.github.com/1343518) from [Paul Irish](https://github.com/paulirish) modified to use [marked](https://github.com/chjj/marked) to support [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown). Sensitive to indentation (avoid mixing tabs and spaces) and line breaks (avoid consecutive breaks).
  111 +
  112 +```html
  113 +<section data-markdown>
  114 + <textarea data-template>
  115 + ## Page title
  116 +
  117 + A paragraph with some text and a [link](http://hakim.se).
  118 + </textarea>
  119 +</section>
  120 +```
  121 +
  122 +#### External Markdown
  123 +
  124 +You can write your content as a separate file and have reveal.js load it at runtime. Note the separator arguments which determine how slides are delimited in the external file: the `data-separator` attribute defines a regular expression for horizontal slides (defaults to `^\r?\n---\r?\n$`, a newline-bounded horizontal rule) and `data-separator-vertical` defines vertical slides (disabled by default). The `data-separator-notes` attribute is a regular expression for specifying the beginning of the current slide's speaker notes (defaults to `note:`). The `data-charset` attribute is optional and specifies which charset to use when loading the external file.
  125 +
  126 +When used locally, this feature requires that reveal.js [runs from a local web server](#full-setup). The following example customises all available options:
  127 +
  128 +```html
  129 +<section data-markdown="example.md"
  130 + data-separator="^\n\n\n"
  131 + data-separator-vertical="^\n\n"
  132 + data-separator-notes="^Note:"
  133 + data-charset="iso-8859-15">
  134 +</section>
  135 +```
  136 +
  137 +#### Element Attributes
  138 +
  139 +Special syntax (in html comment) is available for adding attributes to Markdown elements. This is useful for fragments, amongst other things.
  140 +
  141 +```html
  142 +<section data-markdown>
  143 + <script type="text/template">
  144 + - Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
  145 + - Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
  146 + </script>
  147 +</section>
  148 +```
  149 +
  150 +#### Slide Attributes
  151 +
  152 +Special syntax (in html comment) is available for adding attributes to the slide `<section>` elements generated by your Markdown.
  153 +
  154 +```html
  155 +<section data-markdown>
  156 + <script type="text/template">
  157 + <!-- .slide: data-background="#ff0000" -->
  158 + Markdown content
  159 + </script>
  160 +</section>
  161 +```
  162 +
  163 +#### Configuring *marked*
  164 +
  165 +We use [marked](https://github.com/chjj/marked) to parse Markdown. To customise marked's rendering, you can pass in options when [configuring Reveal](#configuration):
  166 +
  167 +```javascript
  168 +Reveal.initialize({
  169 + // Options which are passed into marked
  170 + // See https://github.com/chjj/marked#options-1
  171 + markdown: {
  172 + smartypants: true
  173 + }
  174 +});
  175 +```
  176 +
  177 +### Configuration
  178 +
  179 +At the end of your page you need to initialize reveal by running the following code. Note that all config values are optional and will default as specified below.
  180 +
  181 +```javascript
  182 +Reveal.initialize({
  183 +
  184 + // Display controls in the bottom right corner
  185 + controls: true,
  186 +
  187 + // Display a presentation progress bar
  188 + progress: true,
  189 +
  190 + // Set default timing of 2 minutes per slide
  191 + defaultTiming: 120,
  192 +
  193 + // Display the page number of the current slide
  194 + slideNumber: false,
  195 +
  196 + // Push each slide change to the browser history
  197 + history: false,
  198 +
  199 + // Enable keyboard shortcuts for navigation
  200 + keyboard: true,
  201 +
  202 + // Enable the slide overview mode
  203 + overview: true,
  204 +
  205 + // Vertical centering of slides
  206 + center: true,
  207 +
  208 + // Enables touch navigation on devices with touch input
  209 + touch: true,
  210 +
  211 + // Loop the presentation
  212 + loop: false,
  213 +
  214 + // Change the presentation direction to be RTL
  215 + rtl: false,
  216 +
  217 + // Randomizes the order of slides each time the presentation loads
  218 + shuffle: false,
  219 +
  220 + // Turns fragments on and off globally
  221 + fragments: true,
  222 +
  223 + // Flags if the presentation is running in an embedded mode,
  224 + // i.e. contained within a limited portion of the screen
  225 + embedded: false,
  226 +
  227 + // Flags if we should show a help overlay when the questionmark
  228 + // key is pressed
  229 + help: true,
  230 +
  231 + // Flags if speaker notes should be visible to all viewers
  232 + showNotes: false,
  233 +
  234 + // Global override for autolaying embedded media (video/audio/iframe)
  235 + // - null: Media will only autoplay if data-autoplay is present
  236 + // - true: All media will autoplay, regardless of individual setting
  237 + // - false: No media will autoplay, regardless of individual setting
  238 + autoPlayMedia: null,
  239 +
  240 + // Number of milliseconds between automatically proceeding to the
  241 + // next slide, disabled when set to 0, this value can be overwritten
  242 + // by using a data-autoslide attribute on your slides
  243 + autoSlide: 0,
  244 +
  245 + // Stop auto-sliding after user input
  246 + autoSlideStoppable: true,
  247 +
  248 + // Use this method for navigation when auto-sliding
  249 + autoSlideMethod: Reveal.navigateNext,
  250 +
  251 + // Enable slide navigation via mouse wheel
  252 + mouseWheel: false,
  253 +
  254 + // Hides the address bar on mobile devices
  255 + hideAddressBar: true,
  256 +
  257 + // Opens links in an iframe preview overlay
  258 + previewLinks: false,
  259 +
  260 + // Transition style
  261 + transition: 'slide', // none/fade/slide/convex/concave/zoom
  262 +
  263 + // Transition speed
  264 + transitionSpeed: 'default', // default/fast/slow
  265 +
  266 + // Transition style for full page slide backgrounds
  267 + backgroundTransition: 'fade', // none/fade/slide/convex/concave/zoom
  268 +
  269 + // Number of slides away from the current that are visible
  270 + viewDistance: 3,
  271 +
  272 + // Parallax background image
  273 + parallaxBackgroundImage: '', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
  274 +
  275 + // Parallax background size
  276 + parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px"
  277 +
  278 + // Number of pixels to move the parallax background per slide
  279 + // - Calculated automatically unless specified
  280 + // - Set to 0 to disable movement along an axis
  281 + parallaxBackgroundHorizontal: null,
  282 + parallaxBackgroundVertical: null,
  283 +
  284 + // The display mode that will be used to show slides
  285 + display: 'block'
  286 +
  287 +});
  288 +```
  289 +
  290 +
  291 +The configuration can be updated after initialization using the ```configure``` method:
  292 +
  293 +```javascript
  294 +// Turn autoSlide off
  295 +Reveal.configure({ autoSlide: 0 });
  296 +
  297 +// Start auto-sliding every 5s
  298 +Reveal.configure({ autoSlide: 5000 });
  299 +```
  300 +
  301 +
  302 +### Presentation Size
  303 +
  304 +All presentations have a normal size, that is the resolution at which they are authored. The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport.
  305 +
  306 +See below for a list of configuration options related to sizing, including default values:
  307 +
  308 +```javascript
  309 +Reveal.initialize({
  310 +
  311 + ...
  312 +
  313 + // The "normal" size of the presentation, aspect ratio will be preserved
  314 + // when the presentation is scaled to fit different resolutions. Can be
  315 + // specified using percentage units.
  316 + width: 960,
  317 + height: 700,
  318 +
  319 + // Factor of the display size that should remain empty around the content
  320 + margin: 0.1,
  321 +
  322 + // Bounds for smallest/largest possible scale to apply to content
  323 + minScale: 0.2,
  324 + maxScale: 1.5
  325 +
  326 +});
  327 +```
  328 +
  329 +If you wish to disable this behavior and do your own scaling (e.g. using media queries), try these settings:
  330 +
  331 +```javascript
  332 +Reveal.initialize({
  333 +
  334 + ...
  335 +
  336 + width: "100%",
  337 + height: "100%",
  338 + margin: 0,
  339 + minScale: 1,
  340 + maxScale: 1
  341 +});
  342 +```
  343 +
  344 +### Dependencies
  345 +
  346 +Reveal.js doesn't _rely_ on any third party scripts to work but a few optional libraries are included by default. These libraries are loaded as dependencies in the order they appear, for example:
  347 +
  348 +```javascript
  349 +Reveal.initialize({
  350 + dependencies: [
  351 + // Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
  352 + { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  353 +
  354 + // Interpret Markdown in <section> elements
  355 + { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  356 + { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  357 +
  358 + // Syntax highlight for <code> elements
  359 + { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
  360 +
  361 + // Zoom in and out with Alt+click
  362 + { src: 'plugin/zoom-js/zoom.js', async: true },
  363 +
  364 + // Speaker notes
  365 + { src: 'plugin/notes/notes.js', async: true },
  366 +
  367 + // MathJax
  368 + { src: 'plugin/math/math.js', async: true }
  369 + ]
  370 +});
  371 +```
  372 +
  373 +You can add your own extensions using the same syntax. The following properties are available for each dependency object:
  374 +- **src**: Path to the script to load
  375 +- **async**: [optional] Flags if the script should load after reveal.js has started, defaults to false
  376 +- **callback**: [optional] Function to execute when the script has loaded
  377 +- **condition**: [optional] Function which must return true for the script to be loaded
  378 +
  379 +To load these dependencies, reveal.js requires [head.js](http://headjs.com/) *(a script loading library)* to be loaded before reveal.js.
  380 +
  381 +### Ready Event
  382 +
  383 +A 'ready' event is fired when reveal.js has loaded all non-async dependencies and is ready to start navigating. To check if reveal.js is already 'ready' you can call `Reveal.isReady()`.
  384 +
  385 +```javascript
  386 +Reveal.addEventListener( 'ready', function( event ) {
  387 + // event.currentSlide, event.indexh, event.indexv
  388 +} );
  389 +```
  390 +
  391 +Note that we also add a `.ready` class to the `.reveal` element so that you can hook into this with CSS.
  392 +
  393 +### Auto-sliding
  394 +
  395 +Presentations can be configured to progress through slides automatically, without any user input. To enable this you will need to tell the framework how many milliseconds it should wait between slides:
  396 +
  397 +```javascript
  398 +// Slide every five seconds
  399 +Reveal.configure({
  400 + autoSlide: 5000
  401 +});
  402 +```
  403 +When this is turned on a control element will appear that enables users to pause and resume auto-sliding. Alternatively, sliding can be paused or resumed by pressing »a« on the keyboard. Sliding is paused automatically as soon as the user starts navigating. You can disable these controls by specifying ```autoSlideStoppable: false``` in your reveal.js config.
  404 +
  405 +You can also override the slide duration for individual slides and fragments by using the ```data-autoslide``` attribute:
  406 +
  407 +```html
  408 +<section data-autoslide="2000">
  409 + <p>After 2 seconds the first fragment will be shown.</p>
  410 + <p class="fragment" data-autoslide="10000">After 10 seconds the next fragment will be shown.</p>
  411 + <p class="fragment">Now, the fragment is displayed for 2 seconds before the next slide is shown.</p>
  412 +</section>
  413 +```
  414 +
  415 +To override the method used for navigation when auto-sliding, you can specify the ```autoSlideMethod``` setting. To only navigate along the top layer and ignore vertical slides, set this to ```Reveal.navigateRight```.
  416 +
  417 +Whenever the auto-slide mode is resumed or paused the ```autoslideresumed``` and ```autoslidepaused``` events are fired.
  418 +
  419 +
  420 +### Keyboard Bindings
  421 +
  422 +If you're unhappy with any of the default keyboard bindings you can override them using the ```keyboard``` config option:
  423 +
  424 +```javascript
  425 +Reveal.configure({
  426 + keyboard: {
  427 + 13: 'next', // go to the next slide when the ENTER key is pressed
  428 + 27: function() {}, // do something custom when ESC is pressed
  429 + 32: null // don't do anything when SPACE is pressed (i.e. disable a reveal.js default binding)
  430 + }
  431 +});
  432 +```
  433 +
  434 +### Touch Navigation
  435 +
  436 +You can swipe to navigate through a presentation on any touch-enabled device. Horizontal swipes change between horizontal slides, vertical swipes change between vertical slides. If you wish to disable this you can set the `touch` config option to false when initializing reveal.js.
  437 +
  438 +If there's some part of your content that needs to remain accessible to touch events you'll need to highlight this by adding a `data-prevent-swipe` attribute to the element. One common example where this is useful is elements that need to be scrolled.
  439 +
  440 +
  441 +### Lazy Loading
  442 +
  443 +When working on presentation with a lot of media or iframe content it's important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the `viewDistance` configuration option.
  444 +
  445 +To enable lazy loading all you need to do is change your "src" attributes to "data-src" as shown below. This is supported for image, video, audio and iframe elements. Lazy loaded iframes will also unload when the containing slide is no longer visible.
  446 +
  447 +```html
  448 +<section>
  449 + <img data-src="image.png">
  450 + <iframe data-src="http://hakim.se"></iframe>
  451 + <video>
  452 + <source data-src="video.webm" type="video/webm" />
  453 + <source data-src="video.mp4" type="video/mp4" />
  454 + </video>
  455 +</section>
  456 +```
  457 +
  458 +
  459 +### API
  460 +
  461 +The ``Reveal`` object exposes a JavaScript API for controlling navigation and reading state:
  462 +
  463 +```javascript
  464 +// Navigation
  465 +Reveal.slide( indexh, indexv, indexf );
  466 +Reveal.left();
  467 +Reveal.right();
  468 +Reveal.up();
  469 +Reveal.down();
  470 +Reveal.prev();
  471 +Reveal.next();
  472 +Reveal.prevFragment();
  473 +Reveal.nextFragment();
  474 +
  475 +// Randomize the order of slides
  476 +Reveal.shuffle();
  477 +
  478 +// Toggle presentation states, optionally pass true/false to force on/off
  479 +Reveal.toggleOverview();
  480 +Reveal.togglePause();
  481 +Reveal.toggleAutoSlide();
  482 +
  483 +// Shows a help overlay with keyboard shortcuts, optionally pass true/false
  484 +// to force on/off
  485 +Reveal.toggleHelp();
  486 +
  487 +// Change a config value at runtime
  488 +Reveal.configure({ controls: true });
  489 +
  490 +// Returns the present configuration options
  491 +Reveal.getConfig();
  492 +
  493 +// Fetch the current scale of the presentation
  494 +Reveal.getScale();
  495 +
  496 +// Retrieves the previous and current slide elements
  497 +Reveal.getPreviousSlide();
  498 +Reveal.getCurrentSlide();
  499 +
  500 +Reveal.getIndices(); // { h: 0, v: 0 } }
  501 +Reveal.getPastSlideCount();
  502 +Reveal.getProgress(); // (0 == first slide, 1 == last slide)
  503 +Reveal.getSlides(); // Array of all slides
  504 +Reveal.getTotalSlides(); // total number of slides
  505 +
  506 +// Returns the speaker notes for the current slide
  507 +Reveal.getSlideNotes();
  508 +
  509 +// State checks
  510 +Reveal.isFirstSlide();
  511 +Reveal.isLastSlide();
  512 +Reveal.isOverview();
  513 +Reveal.isPaused();
  514 +Reveal.isAutoSliding();
  515 +```
  516 +
  517 +### Slide Changed Event
  518 +
  519 +A 'slidechanged' event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes.
  520 +
  521 +Some libraries, like MathJax (see [#226](https://github.com/hakimel/reveal.js/issues/226#issuecomment-10261609)), get confused by the transforms and display states of slides. Often times, this can be fixed by calling their update or render function from this callback.
  522 +
  523 +```javascript
  524 +Reveal.addEventListener( 'slidechanged', function( event ) {
  525 + // event.previousSlide, event.currentSlide, event.indexh, event.indexv
  526 +} );
  527 +```
  528 +
  529 +### Presentation State
  530 +
  531 +The presentation's current state can be fetched by using the `getState` method. A state object contains all of the information required to put the presentation back as it was when `getState` was first called. Sort of like a snapshot. It's a simple object that can easily be stringified and persisted or sent over the wire.
  532 +
  533 +```javascript
  534 +Reveal.slide( 1 );
  535 +// we're on slide 1
  536 +
  537 +var state = Reveal.getState();
  538 +
  539 +Reveal.slide( 3 );
  540 +// we're on slide 3
  541 +
  542 +Reveal.setState( state );
  543 +// we're back on slide 1
  544 +```
  545 +
  546 +### Slide States
  547 +
  548 +If you set ``data-state="somestate"`` on a slide ``<section>``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide.
  549 +
  550 +Furthermore you can also listen to these changes in state via JavaScript:
  551 +
  552 +```javascript
  553 +Reveal.addEventListener( 'somestate', function() {
  554 + // TODO: Sprinkle magic
  555 +}, false );
  556 +```
  557 +
  558 +### Slide Backgrounds
  559 +
  560 +Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a ```data-background``` attribute to your ```<section>``` elements. Four different types of backgrounds are supported: color, image, video and iframe.
  561 +
  562 +#### Color Backgrounds
  563 +All CSS color formats are supported, like rgba() or hsl().
  564 +```html
  565 +<section data-background-color="#ff0000">
  566 + <h2>Color</h2>
  567 +</section>
  568 +```
  569 +
  570 +#### Image Backgrounds
  571 +By default, background images are resized to cover the full page. Available options:
  572 +
  573 +| Attribute | Default | Description |
  574 +| :--------------------------- | :--------- | :---------- |
  575 +| data-background-image | | URL of the image to show. GIFs restart when the slide opens. |
  576 +| data-background-size | cover | See [background-size](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN. |
  577 +| data-background-position | center | See [background-position](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN. |
  578 +| data-background-repeat | no-repeat | See [background-repeat](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN. |
  579 +```html
  580 +<section data-background-image="http://example.com/image.png">
  581 + <h2>Image</h2>
  582 +</section>
  583 +<section data-background-image="http://example.com/image.png" data-background-size="100px" data-background-repeat="repeat">
  584 + <h2>This background image will be sized to 100px and repeated</h2>
  585 +</section>
  586 +```
  587 +
  588 +#### Video Backgrounds
  589 +Automatically plays a full size video behind the slide.
  590 +
  591 +| Attribute | Default | Description |
  592 +| :--------------------------- | :------ | :---------- |
  593 +| data-background-video | | A single video source, or a comma separated list of video sources. |
  594 +| data-background-video-loop | false | Flags if the video should play repeatedly. |
  595 +| data-background-video-muted | false | Flags if the audio should be muted. |
  596 +| data-background-size | cover | Use `cover` for full screen and some cropping or `contain` for letterboxing. |
  597 +
  598 +```html
  599 +<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-video-loop data-background-video-muted>
  600 + <h2>Video</h2>
  601 +</section>
  602 +```
  603 +
  604 +#### Iframe Backgrounds
  605 +Embeds a web page as a slide background that covers 100% of the reveal.js width and height. The iframe is in the background layer, behind your slides, and as such it's not possible to interact with it by default. To make your background interactive, you can add the `data-background-interactive` attribute.
  606 +```html
  607 +<section data-background-iframe="https://slides.com" data-background-interactive>
  608 + <h2>Iframe</h2>
  609 +</section>
  610 +```
  611 +
  612 +#### Background Transitions
  613 +Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition.
  614 +
  615 +
  616 +### Parallax Background
  617 +
  618 +If you want to use a parallax scrolling background, set the first two config properties below when initializing reveal.js (the other two are optional).
  619 +
  620 +```javascript
  621 +Reveal.initialize({
  622 +
  623 + // Parallax background image
  624 + parallaxBackgroundImage: '', // e.g. "https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg"
  625 +
  626 + // Parallax background size
  627 + parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto)
  628 +
  629 + // Number of pixels to move the parallax background per slide
  630 + // - Calculated automatically unless specified
  631 + // - Set to 0 to disable movement along an axis
  632 + parallaxBackgroundHorizontal: 200,
  633 + parallaxBackgroundVertical: 50
  634 +
  635 +});
  636 +```
  637 +
  638 +Make sure that the background size is much bigger than screen size to allow for some scrolling. [View example](http://lab.hakim.se/reveal-js/?parallaxBackgroundImage=https%3A%2F%2Fs3.amazonaws.com%2Fhakim-static%2Freveal-js%2Freveal-parallax-1.jpg&parallaxBackgroundSize=2100px%20900px).
  639 +
  640 +
  641 +
  642 +### Slide Transitions
  643 +The global presentation transition is set using the ```transition``` config value. You can override the global transition for a specific slide by using the ```data-transition``` attribute:
  644 +
  645 +```html
  646 +<section data-transition="zoom">
  647 + <h2>This slide will override the presentation transition and zoom!</h2>
  648 +</section>
  649 +
  650 +<section data-transition-speed="fast">
  651 + <h2>Choose from three transition speeds: default, fast or slow!</h2>
  652 +</section>
  653 +```
  654 +
  655 +You can also use different in and out transitions for the same slide:
  656 +
  657 +```html
  658 +<section data-transition="slide">
  659 + The train goes on …
  660 +</section>
  661 +<section data-transition="slide">
  662 + and on …
  663 +</section>
  664 +<section data-transition="slide-in fade-out">
  665 + and stops.
  666 +</section>
  667 +<section data-transition="fade-in slide-out">
  668 + (Passengers entering and leaving)
  669 +</section>
  670 +<section data-transition="slide">
  671 + And it starts again.
  672 +</section>
  673 +```
  674 +
  675 +
  676 +### Internal links
  677 +
  678 +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">```):
  679 +
  680 +```html
  681 +<a href="#/2/2">Link</a>
  682 +<a href="#/some-slide">Link</a>
  683 +```
  684 +
  685 +You can also add relative navigation links, similar to the built in reveal.js controls, by appending one of the following classes on any element. Note that each element is automatically given an ```enabled``` class when it's a valid navigation route based on the current slide.
  686 +
  687 +```html
  688 +<a href="#" class="navigate-left">
  689 +<a href="#" class="navigate-right">