From fc1c239743240350a1d0a029fa800c8bcdca37bb Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 22 Jan 2016 10:59:02 +0100 Subject: [PATCH] add barebones example to readme --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c406960..accb4fe 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,29 @@ Presentations are written using HTML or Markdown but there's also an online edit ### Markup -Markup hierarchy needs to be ``
`` where the ``
`` represents one slide and can be repeated indefinitely. If you place multiple ``
``'s inside of another ``
`` they will be shown as vertical slides. The first of the vertical slides is the "root" of the others (at the top), and it will be included in the horizontal sequence. For example: +Here's a barebones example of a fully working reveal.js presentation: +```html + + + + + + +
+
+
Slide 1
+
Slide 2
+
+
+ + + + +``` + +Markup hierarchy needs to be `.reveal > .slides > section` where the `section` represents one slide and can be repeated indefinitely. If you place multiple `section`'s inside of another `section` they will be shown as vertical slides. The first of the vertical slides is the "root" of the others (at the top), and will be included in the horizontal sequence. For example: ```html