On Github Adrael / Diap
You can easily switch on and off the slide counter on the top left corner by adding data-no-slide-counter as an attribute to the section, e.g.
<section data-no-slide-counter>
The slide counter actually displayed on the top left corner, is not fixed. Slide down ;)
It can be displayed on each of the four corners:
Simple!
<section data-counter-position="bottom-right">
The counter is intented to suit your wish. Play with it. Enjoy it ;)
On the bottom-right!
On the top-right!
On the top-left!
On the bottom-left!
<section data-controls-position="bottom-left">
<img title="Awesome!" data-no-title-caption data-no-bottom-shadow>
Using simple <figure>:
<figure> <h3>The Hell Of</h3> <br/> <h1>An extremely awesome title!</h1> </figure>Tip: You can edit this one. Just click on it ;)
You can align every tag using the data-align="value" attribute in every displayable HTML tag you want.
Just replace value by one of these:
And it works with HTML / CSS color formatting (e.g. "#something", "red", ...):
<p data-highlighted="blue">Lorem ipsum blah blah</p>
By default, the highlighted color is rgba(184, 20, 20, 0.8).
What do you think of that:
// Display "Hello world!" a thousand times for(int i(0); i < 1000; ++i) std::cout << "Hello world!" << std::endl;
<pre data-no-shadow data-caption="your_caption"> <code> your awesome code is amazed by other stuff too </code> </pre>
Tip: You can disable the box-shadow around the code, using data-no-shadow on the <pre>.
<ul class="leds"> <li> <span class="round green"></span> Round Green Inactive Led </li> <li> <span class="orange active blink"></span> Square Orange Flashing Led </li> <li> <span class="round red active"></span> Round Red Active Led </li> </ul>
Charges:
<header>About the awesome titles</header>
Clicking the button will turn off the light. Hope you are not afraid of the dark!
Turn off the light!This way, you can easily focus on important things.
<button type="button" id="light" class="button yellow" onclick="lightOnOff()"> Turn off the light! </button>
Using the onclick attribute is not an obligation. Feel free to link them all!
<a href="#/charts"> <button class="button blue">Next slide</button> </a>Next slide
Thanks to highcharts.js, you can do all the charts you want. Just take a look at the examples available here.
From now on, displaying PDF files has been made easy. Take a look at the next slide folk!
As you can see, you have the ability to automatically add a light button. If you do not want a light button at all, please use data-no-light-button. If you want to change the color of the light button, which is yellow by default, please use data-light-color="green". You can pick a color between the available button colors.
<div data-pdf="pdf/example.pdf"></div>
<div data-pdf="pdf/example.pdf" data-no-light-button></div>
<div data-pdf="pdf/example.pdf" data-light-color="violet"></div>Tip: the data-pdf attribute MUST contain the path to the PDF file!!
You can select from different transitions, like: Cube - Page - Concave - Zoom - Linear - Fade - None - Default
Reveal.js comes with a few themes built in: Default - Sky - Beige - Simple - Serif - Night Moon - Simple - Solarized
* Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <head> using a <link>.
You can link between slides internally, like this.
Presentations can be exported to PDF, below is an example that's been uploaded to SlideShare.
Si vous avez des questions, je suis tout ouïe.
Question time! — Leonardo Da VinciTwas Diap. by Raphaël Marques
/42
/42
/42
/42