Write Your Presentation
Let’s see some examples of
revealjs backend features.
Additional examples can be found in the AsciiDoc files (.adoc) in
= Title Slide == Slide One * Foo * Bar * World == Slide Two A Great Story [.notes] -- * tell anecdote * make a point --
In previous snippet we are creating a slide titled Slide One with bullets and another one titled Slide Two with centered text (reveal.js’ default behavior) with speaker notes.
Other syntax exists to create speaker notes, see
|In order to generate a proper presentation, the source file must contain a proper AsciiDoc document structure. This is especially important when configuring how Asciidoctor reveal.js should convert the document. The document properties must be set on the title slide for them to work. See Title Slide for more information.|
Starting with reveal.js 3.5 speaker notes supports configurable layouts:
Speaker notes are opened by pressing
With reveal.js 3.5 they require a webserver to work.
This limitation is not present in 3.6.
You can get a Web server running quickly with:
$ ruby -run -e httpd . -p 5000 -b 127.0.0.1
Then use your browser to navigate to the URL http://localhost:5000.
There are a few ways to have no titles on slides.
Setting your title to
notitleoption to your slide
concealoption to your slide
Like the first page of an AsciiDoc document, the first slide is handled differently.
To hide the whole slide use the
Some content can be created with both slides and book in mind.
To mark slides split points you can use preprocessor conditionals combined
with a backend declaration.
Breaking points are set using slides with no title
=== ! wrapped in a
In the end, the whole document has to be compiled with the backend option:
== Main section === Sub Section Small + Multiline + intro . very . long . list . of . items ifdef::backend-revealjs[=== !] Some overview diagram ifdef::backend-revealjs[=== !] Detailed view diagram