fmasion / customReveal.js

custom reveal.js build that fits my needs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reveal.js custom build

Why ?

Because I want a custom tailored workflow that enables me to use (and fully control) svg in my reveal.js slides

#Setup

  1. Install Node.js

  2. Install Grunt

  3. Clone the repository

  4. Navigate to the reveal.js folder

    $ cd reveal.js
  5. Install dependencies

    $ npm install
  6. Serve the presentation and monitor source files for changes

    $ grunt serve

Author

SVGs

Files added to /svg directory are converted to an svg sprite an is directly included in the <body>

If the file name is /svg/laptop126.svg you can refert to it simply with :

<svg> <use xlink:href="#shape-laptop126"/> </svg>

The reason to have all the svg in the body is to have full access to it (styling/scripting)

Slides

Slides are Ă©dited in a partial file :

/author/slides.html

Javascript

You can customize behaviour simply by editing

/author/custom.js

About

custom reveal.js build that fits my needs


Languages

Language:JavaScript 56.5%Language:CSS 43.5%