Skip to content

jmeiss/presentation-html5-nouvelles-techno-web-OCTO-Academy-Lite

Repository files navigation

Présentation : HTML5 Les Nouvelles Technologies du Web

Jonathan MEISS François PETITIT

Pour lancer la présentation

installer NodeJS, Ruby et la GEM Compas exécuter les commandes :

  • npm install -g grunt-cli
  • npm install -g bower
  • npm install
  • bower install
  • grunt server

Puis se connecter sur un navigateur sur l'URL http://localhost:9000

Les démos

formulaires + notifications : http://localhost:9000/demos/formulaires-notifications/html5-notifications_1383869079_demo_package/ gradients + border-radius : http://localhost:9000/demos/windows-calculator/

Reveal.js with Reveal Generator for Yeoman

Reveal.js generator Build Status NPM version

Dependency Status devDependency Status

A Yeoman generator for the awesome Reveal.js presentation framework.

Usage

Install: npm install -g generator-reveal

Make a new directory, and cd into it:

mkdir my-new-project && cd $_

Run yo reveal and start building your presentation.

After all files are created you can view your slides with grunt:

grunt server

Then, create further slides with yo reveal:slide more-content. See below for available options. When you want to export your presentation to some static HTML server, you can type grunt dist to have all your relevant files saved to the dist directory.

Generators

Available generators:

Slide

Generates a Slide file.

Example:

yo reveal:slide "Slide Title"

Produces slides/slide-title.html:

<h2>Slide Title</h2>

<p>This is a new slide</p>

And the slide filename will be added to your slides/list.json file.

[
    "index.md",
    "slide-title.html"
]

Vertical Slides

In order to add vertical slides, you can nest an array inside slides/list.json

[
    "index.md",
    [
        "vertical-html.html",
        "vertical-markdown.md"
    ],
    [
        "vertical-html-2.html",
        "vertical-markdown-2.md"
    ],
    "the-end.md"
]

Simple (Image) Slides

Sometimes you just want a slide with a background image. That's okay, a slide object does not need a filename.

[
    "index.md",
    {
        "attr": {
            "data-background": "http://example.com/image.png"
        }
    }
]

Options

Markdown

Invoked with --markdown

yo reveal:slide "Slide Title" --markdown

Produces slides/slide-title.md

## Slide Title

This is a new slide
Attributes

Invoked with --attributes

yo reveal:slide "Slide Title" --attributes

adds a slide Object with an attr key to your slides/list.json file. Attributes will be passed to section element containing the slide.

[
    "index.md",
    {
        "filename": "slide-title.md",
        "attr": {
            "data-background": "#ff0000"
        }
    }
]
<section data-markdown="slides/slide-title.md" data-background="#ff0000"></section>
Speaker Notes

Invoked with --notes

yo reveal:slide "Slide Title" --notes

Produces slides/slide-title.html:

<h2>Slide Title</h2>

<p>This is a new slide</p>

<aside class="notes">
    Put your speaker notes here.
    You can see them pressing 's'.
</aside>

All three options maybe combined, e.g.

yo reveal:slide "Markdown Slide With Notes And Section-Attributes" --notes --attributes --markdown

License

MIT License

About

Présentation : HTML5 Les Nouvelles Technologies du Web pour OCTO Academy - 14/01/14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published