2. HEADS UP
reveal.js is an easy to use, HTML based, presentation tool. You'll need a
modern browser with support for CSS 3D transforms to see it in its full
glory.
- Hakim El Hattab / @hakimel
11. MARKDOWN SUPPORT
For those of you who like that sort of thing. Instructions and a bit more
info available here .
<eto dt-akon
scin aamrdw>
# Mrdw spot
# akon upr
Frtoeo yuwolk ta sr o tig
o hs f o h ie ht ot f hn.
Isrcin adabtmr if aalbe[ee(tp:/ihbcmhkml
ntutos n i oe no vial hr]hts/gtu.o/aie/
rva.smrdw)
eelj#akon.
<scin
/eto>
13. GLOBAL STATE
Set d t - t t = s m t i g on a slide and " o e h n " be
aasae"oehn" s m t i g will
added as a class to the document element when the slide is open. This
let's you apply broader style changes, like switching the background.
16. CUSTOM EVENTS
Additionally custom events can be triggered on a per slide basis by
binding to the d t - t t name.
aasae
Rva.dEetitnr 'utmvn' fnto( {
eeladvnLsee( csoeet, ucin)
cnoelg 'csoeet hsfrd )
osl.o( "utmvn" a ie' ;
});
17. CLEVER QUOTES
These guys come in two forms, inline: “ The nice thing about standards is
that there are so many to choose from” and block:
“ For years there has been a theory that millions of
monkeys typing at random on millions of typewriters
would reproduce the entire works of Shakespeare.
The Internet has proven this theory to be untrue. ”
18. PRETTY CODE
fnto lniy slco ){
ucin ikf( eetr
i(spot3Tasom ){
f uprsDrnfrs
vrnds=dcmn.urSlcoAl slco )
a oe ouetqeyeetrl( eetr ;
fr vri=0 ln=ndslnt;i<ln i+){
o( a , e oe.egh e; +
vrnd =ndsi;
a oe oe[]
i(!oecasae)){
f nd.lsNm
nd.lsNm + 'rl'
oecasae = ol;
}
};
}
}
Courtesy of highlight.js .