hyla 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile.lock +35 -7
- data/README.adoc +10 -2
- data/bin/hyla +16 -13
- data/hyla.gemspec +6 -3
- data/lib/hyla.rb +5 -1
- data/lib/hyla/command.rb +12 -10
- data/lib/hyla/commands/create.rb +21 -12
- data/lib/hyla/commands/generate.rb +168 -59
- data/lib/hyla/commands/new.rb +36 -15
- data/lib/hyla/commands/watch.rb +6 -2
- data/lib/hyla/configuration.rb +169 -27
- data/lib/hyla/core_ext.rb +24 -0
- data/lib/hyla/project.rb +1 -1
- data/lib/resources/backends/haml/deckjs/block_admonition.html.haml +14 -0
- data/lib/resources/backends/haml/deckjs/block_audio.html.haml +7 -0
- data/lib/resources/backends/haml/deckjs/block_colist.html.haml +21 -0
- data/lib/resources/backends/haml/deckjs/block_dlist.html.haml +54 -0
- data/lib/resources/backends/haml/deckjs/block_example.haml.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_floating_title.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/deckjs/block_listing.html.haml +32 -0
- data/lib/resources/backends/haml/deckjs/block_literal.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_olist.html.haml +11 -0
- data/lib/resources/backends/haml/deckjs/block_open.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_page_break.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_paragraph.html.haml +4 -0
- data/lib/resources/backends/haml/deckjs/block_pass.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_preamble.html.haml +3 -0
- data/lib/resources/backends/haml/deckjs/block_quote.html.haml +12 -0
- data/lib/resources/backends/haml/deckjs/block_ruler.html.haml +1 -0
- data/lib/resources/backends/haml/deckjs/block_sidebar.html.haml +5 -0
- data/lib/resources/backends/haml/deckjs/block_table.html.haml +48 -0
- data/lib/resources/backends/haml/deckjs/block_ulist.html.haml +25 -0
- data/lib/resources/backends/haml/deckjs/block_verse.html.haml +13 -0
- data/lib/resources/backends/haml/deckjs/block_video.html.haml +24 -0
- data/lib/resources/backends/haml/deckjs/document.html.haml +182 -0
- data/lib/resources/backends/haml/deckjs/embedded.html.haml +10 -0
- data/lib/resources/backends/haml/deckjs/inline_anchor.html.haml +12 -0
- data/lib/resources/backends/haml/deckjs/inline_break.html.haml +2 -0
- data/lib/resources/backends/haml/deckjs/inline_callout.html.haml +7 -0
- data/lib/resources/backends/haml/deckjs/inline_footnote.html.haml +8 -0
- data/lib/resources/backends/haml/deckjs/inline_image.html.haml +24 -0
- data/lib/resources/backends/haml/deckjs/inline_indexterm.html.haml +2 -0
- data/lib/resources/backends/haml/deckjs/inline_quoted.html.haml +19 -0
- data/lib/resources/backends/haml/deckjs/section.html.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_admonition.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_colist.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_dlist.xml.haml +61 -0
- data/lib/resources/backends/haml/docbook45/block_example.xml.haml +14 -0
- data/lib/resources/backends/haml/docbook45/block_floating_title.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_image.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_listing.xml.haml +14 -0
- data/lib/resources/backends/haml/docbook45/block_literal.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_olist.xml.haml +8 -0
- data/lib/resources/backends/haml/docbook45/block_open.xml.haml +25 -0
- data/lib/resources/backends/haml/docbook45/block_page_break.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_paragraph.xml.haml +6 -0
- data/lib/resources/backends/haml/docbook45/block_pass.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/block_preamble.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_quote.xml.haml +13 -0
- data/lib/resources/backends/haml/docbook45/block_ruler.xml.haml +2 -0
- data/lib/resources/backends/haml/docbook45/block_sidebar.xml.haml +7 -0
- data/lib/resources/backends/haml/docbook45/block_table.xml.haml +37 -0
- data/lib/resources/backends/haml/docbook45/block_ulist.xml.haml +18 -0
- data/lib/resources/backends/haml/docbook45/block_verse.xml.haml +10 -0
- data/lib/resources/backends/haml/docbook45/document.xml.haml +63 -0
- data/lib/resources/backends/haml/docbook45/embedded.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/helpers.rb +7 -0
- data/lib/resources/backends/haml/docbook45/inline_anchor.xml.haml +13 -0
- data/lib/resources/backends/haml/docbook45/inline_break.xml.haml +2 -0
- data/lib/resources/backends/haml/docbook45/inline_callout.xml.haml +1 -0
- data/lib/resources/backends/haml/docbook45/inline_footnote.xml.haml +5 -0
- data/lib/resources/backends/haml/docbook45/inline_image.xml.haml +5 -0
- data/lib/resources/backends/haml/docbook45/inline_indexterm.xml.haml +18 -0
- data/lib/resources/backends/haml/docbook45/inline_quoted.xml.haml +21 -0
- data/lib/resources/backends/haml/docbook45/section.xml.haml +5 -0
- data/lib/resources/backends/haml/html5/block_admonition.html.haml +14 -0
- data/lib/resources/backends/haml/html5/block_audio.html.haml +7 -0
- data/lib/resources/backends/haml/html5/block_colist.html.haml +21 -0
- data/lib/resources/backends/haml/html5/block_dlist.html.haml +54 -0
- data/lib/resources/backends/haml/html5/block_example.haml.haml +5 -0
- data/lib/resources/backends/haml/html5/block_floating_title.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/html5/block_listing.html.haml +31 -0
- data/lib/resources/backends/haml/html5/block_literal.html.haml +5 -0
- data/lib/resources/backends/haml/html5/block_math.html.haml +10 -0
- data/lib/resources/backends/haml/html5/block_olist.html.haml +9 -0
- data/lib/resources/backends/haml/html5/block_open.html.haml +15 -0
- data/lib/resources/backends/haml/html5/block_page_break.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_paragraph.html.haml +4 -0
- data/lib/resources/backends/haml/html5/block_pass.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_preamble.html.haml +6 -0
- data/lib/resources/backends/haml/html5/block_quote.html.haml +12 -0
- data/lib/resources/backends/haml/html5/block_ruler.html.haml +1 -0
- data/lib/resources/backends/haml/html5/block_sidebar.html.haml +5 -0
- data/lib/resources/backends/haml/html5/block_table.html.haml +47 -0
- data/lib/resources/backends/haml/html5/block_toc.html.haml +11 -0
- data/lib/resources/backends/haml/html5/block_ulist.html.haml +25 -0
- data/lib/resources/backends/haml/html5/block_verse.html.haml +13 -0
- data/lib/resources/backends/haml/html5/block_video.html.haml +27 -0
- data/lib/resources/backends/haml/html5/document.html.haml +114 -0
- data/lib/resources/backends/haml/html5/embedded.html.haml +10 -0
- data/lib/resources/backends/haml/html5/helpers.rb +7 -0
- data/lib/resources/backends/haml/html5/inline_anchor.html.haml +11 -0
- data/lib/resources/backends/haml/html5/inline_break.html.haml +2 -0
- data/lib/resources/backends/haml/html5/inline_button.html.haml +1 -0
- data/lib/resources/backends/haml/html5/inline_callout.html.haml +7 -0
- data/lib/resources/backends/haml/html5/inline_footnote.html.haml +8 -0
- data/lib/resources/backends/haml/html5/inline_image.html.haml +24 -0
- data/lib/resources/backends/haml/html5/inline_indexterm.html.haml +2 -0
- data/lib/resources/backends/haml/html5/inline_kbd.html.haml +8 -0
- data/lib/resources/backends/haml/html5/inline_menu.html.haml +15 -0
- data/lib/resources/backends/haml/html5/inline_quoted.html.haml +22 -0
- data/lib/resources/backends/haml/html5/section.html.haml +21 -0
- data/lib/resources/backends/haml/revealjs/block_image.html.haml +11 -0
- data/lib/resources/backends/haml/revealjs/block_olist.html.haml +8 -0
- data/lib/resources/backends/haml/revealjs/block_ulist.html.haml +8 -0
- data/lib/resources/backends/haml/revealjs/document.html.haml +61 -0
- data/lib/resources/backends/haml/revealjs/section.html.haml +10 -0
- data/lib/resources/backends/slim/docbook45/block_admonition.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_colist.xml.slim +8 -0
- data/lib/resources/backends/slim/docbook45/block_dlist.xml.slim +61 -0
- data/lib/resources/backends/slim/docbook45/block_example.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/block_floating_title.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_image.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_listing.xml.slim +14 -0
- data/lib/resources/backends/slim/docbook45/block_literal.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_olist.xml.slim +8 -0
- data/lib/resources/backends/slim/docbook45/block_open.xml.slim +25 -0
- data/lib/resources/backends/slim/docbook45/block_page_break.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_paragraph.xml.slim +6 -0
- data/lib/resources/backends/slim/docbook45/block_pass.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/block_preamble.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_quote.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/block_ruler.xml.slim +2 -0
- data/lib/resources/backends/slim/docbook45/block_sidebar.xml.slim +7 -0
- data/lib/resources/backends/slim/docbook45/block_table.xml.slim +36 -0
- data/lib/resources/backends/slim/docbook45/block_ulist.xml.slim +18 -0
- data/lib/resources/backends/slim/docbook45/block_verse.xml.slim +10 -0
- data/lib/resources/backends/slim/docbook45/document.xml.slim +63 -0
- data/lib/resources/backends/slim/docbook45/embedded.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/helpers.rb +9 -0
- data/lib/resources/backends/slim/docbook45/inline_anchor.xml.slim +13 -0
- data/lib/resources/backends/slim/docbook45/inline_break.xml.slim +2 -0
- data/lib/resources/backends/slim/docbook45/inline_callout.xml.slim +1 -0
- data/lib/resources/backends/slim/docbook45/inline_footnote.xml.slim +4 -0
- data/lib/resources/backends/slim/docbook45/inline_image.xml.slim +4 -0
- data/lib/resources/backends/slim/docbook45/inline_indexterm.xml.slim +16 -0
- data/lib/resources/backends/slim/docbook45/inline_quoted.xml.slim +21 -0
- data/lib/resources/backends/slim/docbook45/section.xml.slim +5 -0
- data/lib/resources/backends/slim/document.html.bk.slim +335 -0
- data/lib/resources/backends/slim/dzslides/block_admonition.html.slim +19 -0
- data/lib/resources/backends/slim/dzslides/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/dzslides/block_dlist.html.slim +10 -0
- data/lib/resources/backends/slim/dzslides/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/dzslides/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_image.html.slim +14 -0
- data/lib/resources/backends/slim/dzslides/block_listing.html.slim +8 -0
- data/lib/resources/backends/slim/dzslides/block_literal.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/block_olist.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/block_open.html.slim +4 -0
- data/lib/resources/backends/slim/dzslides/block_paragraph.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_quote.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/dzslides/block_ulist.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/block_verse.html.slim +12 -0
- data/lib/resources/backends/slim/dzslides/block_video.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/document.html.slim +67 -0
- data/lib/resources/backends/slim/dzslides/embedded.html.slim +1 -0
- data/lib/resources/backends/slim/dzslides/helpers.rb +9 -0
- data/lib/resources/backends/slim/dzslides/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/dzslides/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/dzslides/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/dzslides/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/dzslides/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/dzslides/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/dzslides/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/dzslides/inline_quoted.html.slim +23 -0
- data/lib/resources/backends/slim/dzslides/section.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_admonition.html.slim +13 -0
- data/lib/resources/backends/slim/html5/block_audio.html.slim +6 -0
- data/lib/resources/backends/slim/html5/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/html5/block_dlist.html.slim +53 -0
- data/lib/resources/backends/slim/html5/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_image.html.slim +10 -0
- data/lib/resources/backends/slim/html5/block_listing.html.slim +31 -0
- data/lib/resources/backends/slim/html5/block_literal.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_math.html.slim +10 -0
- data/lib/resources/backends/slim/html5/block_olist.html.slim +9 -0
- data/lib/resources/backends/slim/html5/block_open.html.slim +15 -0
- data/lib/resources/backends/slim/html5/block_page_break.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_paragraph.html.slim +4 -0
- data/lib/resources/backends/slim/html5/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_preamble.html.slim +6 -0
- data/lib/resources/backends/slim/html5/block_quote.html.slim +14 -0
- data/lib/resources/backends/slim/html5/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/html5/block_sidebar.html.slim +5 -0
- data/lib/resources/backends/slim/html5/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/html5/block_toc.html.slim +12 -0
- data/lib/resources/backends/slim/html5/block_ulist.html.slim +25 -0
- data/lib/resources/backends/slim/html5/block_verse.html.slim +14 -0
- data/lib/resources/backends/slim/html5/block_video.html.slim +27 -0
- data/lib/resources/backends/slim/html5/document.html.slim +112 -0
- data/lib/resources/backends/slim/html5/embedded.html.slim +9 -0
- data/lib/resources/backends/slim/html5/helpers.rb +8 -0
- data/lib/resources/backends/slim/html5/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/html5/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/html5/inline_button.html.slim +1 -0
- data/lib/resources/backends/slim/html5/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/html5/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/html5/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/html5/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/html5/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/html5/inline_menu.html.slim +15 -0
- data/lib/resources/backends/slim/html5/inline_quoted.html.slim +22 -0
- data/lib/resources/backends/slim/html5/section.html.slim +20 -0
- data/lib/resources/backends/slim/revealjs/block_admonition.html.slim +13 -0
- data/lib/resources/backends/slim/revealjs/block_audio.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/block_colist.html.slim +20 -0
- data/lib/resources/backends/slim/revealjs/block_dlist.html.slim +53 -0
- data/lib/resources/backends/slim/revealjs/block_example.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_floating_title.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_image.html.slim +10 -0
- data/lib/resources/backends/slim/revealjs/block_listing.html.slim +31 -0
- data/lib/resources/backends/slim/revealjs/block_literal.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_math.html.slim +10 -0
- data/lib/resources/backends/slim/revealjs/block_olist.html.slim +9 -0
- data/lib/resources/backends/slim/revealjs/block_open.html.slim +15 -0
- data/lib/resources/backends/slim/revealjs/block_page_break.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_paragraph.html.slim +4 -0
- data/lib/resources/backends/slim/revealjs/block_pass.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_preamble.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/block_quote.html.slim +14 -0
- data/lib/resources/backends/slim/revealjs/block_ruler.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/block_sidebar.html.slim +5 -0
- data/lib/resources/backends/slim/revealjs/block_table.html.slim +45 -0
- data/lib/resources/backends/slim/revealjs/block_toc.html.slim +12 -0
- data/lib/resources/backends/slim/revealjs/block_ulist.html.slim +25 -0
- data/lib/resources/backends/slim/revealjs/block_verse.html.slim +14 -0
- data/lib/resources/backends/slim/revealjs/block_video.html.slim +27 -0
- data/lib/resources/backends/slim/revealjs/document.html.slim +87 -0
- data/lib/resources/backends/slim/revealjs/embedded.html.slim +9 -0
- data/lib/resources/backends/slim/revealjs/helpers.rb +8 -0
- data/lib/resources/backends/slim/revealjs/inline_anchor.html.slim +11 -0
- data/lib/resources/backends/slim/revealjs/inline_break.html.slim +2 -0
- data/lib/resources/backends/slim/revealjs/inline_button.html.slim +1 -0
- data/lib/resources/backends/slim/revealjs/inline_callout.html.slim +7 -0
- data/lib/resources/backends/slim/revealjs/inline_footnote.html.slim +6 -0
- data/lib/resources/backends/slim/revealjs/inline_image.html.slim +24 -0
- data/lib/resources/backends/slim/revealjs/inline_indexterm.html.slim +2 -0
- data/lib/resources/backends/slim/revealjs/inline_kbd.html.slim +8 -0
- data/lib/resources/backends/slim/revealjs/inline_menu.html.slim +15 -0
- data/lib/resources/backends/slim/revealjs/inline_quoted.html.slim +22 -0
- data/lib/resources/backends/slim/revealjs/section.html.slim +3 -0
- data/lib/resources/deck.js/core/deck.core.css +407 -0
- data/lib/resources/deck.js/core/deck.core.js +498 -0
- data/lib/resources/deck.js/extensions/deck.js-blank/README.md +10 -0
- data/lib/resources/deck.js/extensions/deck.js-blank/deck.blank.js +33 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.css +41 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.html +7 -0
- data/lib/resources/deck.js/extensions/goto/deck.goto.js +170 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.css +13 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.html +2 -0
- data/lib/resources/deck.js/extensions/hash/deck.hash.js +142 -0
- data/lib/resources/deck.js/extensions/menu/deck.menu.css +47 -0
- data/lib/resources/deck.js/extensions/menu/deck.menu.js +187 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.css +43 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.html +3 -0
- data/lib/resources/deck.js/extensions/navigation/deck.navigation.js +92 -0
- data/lib/resources/deck.js/extensions/scale/deck.scale.css +28 -0
- data/lib/resources/deck.js/extensions/scale/deck.scale.js +170 -0
- data/lib/resources/deck.js/extensions/split/README.md +30 -0
- data/lib/resources/deck.js/extensions/split/deck.split.js +59 -0
- data/lib/resources/deck.js/extensions/status/deck.status.css +18 -0
- data/lib/resources/deck.js/extensions/status/deck.status.html +6 -0
- data/lib/resources/deck.js/extensions/status/deck.status.js +95 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.css +40 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.html +12 -0
- data/lib/resources/deck.js/extensions/toc/deck.toc.js +271 -0
- data/lib/resources/deck.js/jquery-1.7.2.min.js +4 -0
- data/lib/resources/deck.js/jquery.min.js +4 -0
- data/lib/resources/deck.js/modernizr.custom.js +4 -0
- data/lib/resources/deck.js/themes/style/beamer.css +286 -0
- data/lib/resources/deck.js/themes/style/neon.css +123 -0
- data/lib/resources/deck.js/themes/style/swiss.css +84 -0
- data/lib/resources/deck.js/themes/style/web-2.0.css +214 -0
- data/lib/resources/deck.js/themes/transition/beamer.css +66 -0
- data/lib/resources/deck.js/themes/transition/fade.css +43 -0
- data/lib/resources/deck.js/themes/transition/horizontal-slide.css +76 -0
- data/lib/resources/deck.js/themes/transition/vertical-slide.css +94 -0
- data/lib/resources/revealjs/LICENSE +19 -0
- data/lib/resources/revealjs/css/print/paper.css +176 -0
- data/lib/resources/revealjs/css/print/pdf.css +190 -0
- data/lib/resources/revealjs/css/reveal.css +1880 -0
- data/lib/resources/revealjs/css/reveal.min.css +7 -0
- data/lib/resources/revealjs/css/theme/README.md +25 -0
- data/lib/resources/revealjs/css/theme/beige.css +148 -0
- data/lib/resources/revealjs/css/theme/blood.css +175 -0
- data/lib/resources/revealjs/css/theme/default.css +148 -0
- data/lib/resources/revealjs/css/theme/moon.css +148 -0
- data/lib/resources/revealjs/css/theme/night.css +136 -0
- data/lib/resources/revealjs/css/theme/serif.css +138 -0
- data/lib/resources/revealjs/css/theme/simple.css +138 -0
- data/lib/resources/revealjs/css/theme/sky.css +145 -0
- data/lib/resources/revealjs/css/theme/solarized.css +148 -0
- data/lib/resources/revealjs/css/theme/source/beige.scss +50 -0
- data/lib/resources/revealjs/css/theme/source/blood.scss +91 -0
- data/lib/resources/revealjs/css/theme/source/default.scss +42 -0
- data/lib/resources/revealjs/css/theme/source/moon.scss +68 -0
- data/lib/resources/revealjs/css/theme/source/night.scss +35 -0
- data/lib/resources/revealjs/css/theme/source/serif.scss +35 -0
- data/lib/resources/revealjs/css/theme/source/simple.scss +38 -0
- data/lib/resources/revealjs/css/theme/source/sky.scss +46 -0
- data/lib/resources/revealjs/css/theme/source/solarized.scss +74 -0
- data/lib/resources/revealjs/css/theme/template/mixins.scss +29 -0
- data/lib/resources/revealjs/css/theme/template/settings.scss +34 -0
- data/lib/resources/revealjs/css/theme/template/theme.scss +170 -0
- data/lib/resources/revealjs/js/reveal.js +3382 -0
- data/lib/resources/revealjs/js/reveal.min.js +9 -0
- data/lib/resources/revealjs/lib/css/zenburn.css +114 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.eot +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.svg +230 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.ttf +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic-webfont.woff +0 -0
- data/lib/resources/revealjs/lib/font/league_gothic_license +2 -0
- data/lib/resources/revealjs/lib/js/classList.js +2 -0
- data/lib/resources/revealjs/lib/js/head.min.js +8 -0
- data/lib/resources/revealjs/lib/js/html5shiv.js +7 -0
- data/lib/resources/revealjs/plugin/highlight/highlight.js +32 -0
- data/lib/resources/revealjs/plugin/leap/leap.js +157 -0
- data/lib/resources/revealjs/plugin/markdown/example.html +129 -0
- data/lib/resources/revealjs/plugin/markdown/example.md +31 -0
- data/lib/resources/revealjs/plugin/markdown/markdown.js +392 -0
- data/lib/resources/revealjs/plugin/markdown/marked.js +37 -0
- data/lib/resources/revealjs/plugin/math/math.js +64 -0
- data/lib/resources/revealjs/plugin/multiplex/client.js +13 -0
- data/lib/resources/revealjs/plugin/multiplex/index.js +56 -0
- data/lib/resources/revealjs/plugin/multiplex/master.js +51 -0
- data/lib/resources/revealjs/plugin/notes-server/client.js +57 -0
- data/lib/resources/revealjs/plugin/notes-server/index.js +59 -0
- data/lib/resources/revealjs/plugin/notes-server/notes.html +142 -0
- data/lib/resources/revealjs/plugin/notes/notes.html +267 -0
- data/lib/resources/revealjs/plugin/notes/notes.js +78 -0
- data/lib/resources/revealjs/plugin/postmessage/example.html +39 -0
- data/lib/resources/revealjs/plugin/postmessage/postmessage.js +42 -0
- data/lib/resources/revealjs/plugin/print-pdf/print-pdf.js +44 -0
- data/lib/resources/revealjs/plugin/remotes/remotes.js +39 -0
- data/lib/resources/revealjs/plugin/search/search.js +196 -0
- data/lib/resources/revealjs/plugin/zoom-js/zoom.js +258 -0
- data/lib/resources/styles/asciidoctor.css +652 -0
- data/lib/resources/styles/colony.css +660 -0
- data/lib/resources/styles/foundation-lime.css +657 -0
- data/lib/resources/styles/foundation-potion.css +657 -0
- data/lib/resources/styles/foundation.css +648 -0
- data/lib/resources/styles/github.css +669 -0
- data/lib/resources/styles/golo.css +669 -0
- data/lib/resources/styles/iconic.css +692 -0
- data/lib/resources/styles/maker.css +668 -0
- data/lib/resources/styles/readthedocs.css +669 -0
- data/lib/resources/styles/redhat.css +654 -0
- data/lib/resources/styles/riak.css +689 -0
- data/lib/resources/styles/rocket-panda.css +662 -0
- data/lib/resources/styles/rubygems.css +650 -0
- data/lib/templates/_config.yml +27 -0
- data/lib/templates/{training → book}/GemFile +2 -1
- data/lib/templates/{training → book}/development/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/book/development/book.adoc +121 -0
- data/lib/templates/{training → book}/development/image/hyla_frog.jpg +0 -0
- data/lib/templates/{training → book}/development/video/small.ogv +0 -0
- data/lib/templates/{training → book}/introduction/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/book/introduction/book.adoc +121 -0
- data/lib/templates/{training → book}/introduction/image/hyla_frog.jpg +0 -0
- data/lib/templates/{training → book}/introduction/video/small.ogv +0 -0
- data/lib/templates/book/readme.adoc +10 -0
- data/lib/templates/sample/asciidoc_article.adoc +101 -10
- data/lib/templates/sample/asciidoc_audio.adoc +1 -1
- data/lib/templates/sample/asciidoc_book.adoc +125 -0
- data/lib/templates/sample/asciidoc_image.adoc +26 -0
- data/lib/templates/sample/asciidoc_report.adoc +66 -0
- data/lib/templates/sample/asciidoc_source.adoc +53 -0
- data/lib/templates/sample/asciidoc_table.adoc +36 -0
- data/lib/templates/sample/asciidoc_video.adoc +9 -1
- data/lib/templates/sample/slideshow_revealjs.adoc +26 -0
- data/lib/templates/training-exercises/_config.yml +3 -0
- data/lib/templates/training/{introduction → module-1}/article.adoc +7 -2
- data/lib/templates/training/module-1/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/training/module-1/image/hyla_arborea.jpg +0 -0
- data/lib/templates/training/module-1/video/small.ogv +0 -0
- data/lib/templates/training/{development → module-2}/article.adoc +7 -2
- data/lib/templates/training/module-2/audio/ocean_waves.mp3 +0 -0
- data/lib/templates/training/module-2/image/hyla_arborea.jpg +0 -0
- data/lib/templates/training/module-2/video/small.ogv +0 -0
- data/lib/templates/training/readme.adoc +10 -1
- data/scenario.adoc +113 -20
- data/test/reports/test-1.0.x-11-12-2013.txt +123 -0
- data/todo.adoc +39 -0
- metadata +473 -51
- data/lib/hyla/training.rb +0 -25
- data/lib/templates/sample/asciidoc_source_highlight.adoc +0 -37
- data/lib/templates/training-exercises/Gemfile +0 -4
@@ -0,0 +1,13 @@
|
|
1
|
+
- if title?
|
2
|
+
example id=@id role=(attr :role) xreflabel=(attr :reftext)
|
3
|
+
title=title
|
4
|
+
- if blocks?
|
5
|
+
=content
|
6
|
+
- else
|
7
|
+
simpara=content
|
8
|
+
- else
|
9
|
+
informalexample id=@id role=(attr :role) xreflabel=(attr :reftext)
|
10
|
+
- if blocks?
|
11
|
+
=content
|
12
|
+
- else
|
13
|
+
simpara=content
|
@@ -0,0 +1 @@
|
|
1
|
+
bridgehead id=@id role=(attr :role) xreflabel=(attr :reftext) renderas="sect#@level" =title
|
@@ -0,0 +1,7 @@
|
|
1
|
+
figure id=@id role=(attr :role) xreflabel=(attr :reftext)
|
2
|
+
- if title?
|
3
|
+
title=title
|
4
|
+
mediaobject
|
5
|
+
imageobject
|
6
|
+
imagedata fileref=image_uri(attr :target) contentwidth=(attr :width) contentdepth=(attr :height) scale=(attr :scale) width=(attr :scaledwidth) scalefit=((attr? :scaledwidth) ? 1 : nil) align=(attr :align)
|
7
|
+
textobject: phrase=attr :alt
|
@@ -0,0 +1,14 @@
|
|
1
|
+
- if !title?
|
2
|
+
- if attr?(:style, 'source') && attr?(:language)
|
3
|
+
programlisting(id=@id role=(attr :role) xreflabel=(attr :reftext) language=(attr :language)
|
4
|
+
linenumbering=((attr? :linenums) ? 'numbered' : 'unnumbered')) =content
|
5
|
+
- else
|
6
|
+
screen id=@id role=(attr :role) xreflabel=(attr :reftext) =content
|
7
|
+
- else
|
8
|
+
formalpara id=@id role=(attr :role) xreflabel=(attr :reftext)
|
9
|
+
title=title
|
10
|
+
para
|
11
|
+
- if attr?(:style, 'source') && attr?(:language)
|
12
|
+
programlisting language=(attr :language) linenumbering=((attr? :linenums) ? 'numbered' : 'unnumbered') =content
|
13
|
+
- else
|
14
|
+
screen=content
|
@@ -0,0 +1,25 @@
|
|
1
|
+
- case attr 'style'
|
2
|
+
- when 'abstract'
|
3
|
+
- if @parent == @document && @document.doctype == 'book'
|
4
|
+
- puts 'asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content.'
|
5
|
+
- else
|
6
|
+
abstract
|
7
|
+
- if title?
|
8
|
+
title=title
|
9
|
+
- if blocks?
|
10
|
+
=content
|
11
|
+
- else
|
12
|
+
simpara=content
|
13
|
+
- when 'partintro'
|
14
|
+
- unless @document.doctype == 'book' && @parent.context == :section && @level == 0
|
15
|
+
- puts 'asciidoctor: ERROR: partintro block can only be used when doctype is book and its a child of a part section. Excluding block content.'
|
16
|
+
- else
|
17
|
+
partintro id=@id role=(attr :role) xreflabel=(attr :reftext)
|
18
|
+
- if title?
|
19
|
+
title=title
|
20
|
+
- if blocks?
|
21
|
+
=content
|
22
|
+
- else
|
23
|
+
simpara=content
|
24
|
+
- else
|
25
|
+
=content
|
@@ -0,0 +1 @@
|
|
1
|
+
simpara <?asciidoc-pagebreak?>
|
@@ -0,0 +1 @@
|
|
1
|
+
=content
|
@@ -0,0 +1,13 @@
|
|
1
|
+
blockquote id=@id role=(attr :role) xreflabel=(attr :reftext)
|
2
|
+
- if title?
|
3
|
+
title=title
|
4
|
+
- if (attr? :attribution) || (attr? :citetitle)
|
5
|
+
attribution
|
6
|
+
- if attr? :attribution
|
7
|
+
=attr :attribution
|
8
|
+
- if attr? :citetitle
|
9
|
+
citetitle=attr :citetitle
|
10
|
+
- if blocks?
|
11
|
+
=content
|
12
|
+
- else
|
13
|
+
simpara=content
|
@@ -0,0 +1,36 @@
|
|
1
|
+
*{:tag=>title? ? 'table' : 'informaltable', :id=>@id, :role=>(attr :role), :xreflabel=>(attr :reftext),
|
2
|
+
:frame=>(attr :frame, 'all'), :rowsep=>['none', 'cols'].include?(attr :grid) ? 0 : 1, :colsep=>['none', 'rows'].include?(attr :grid) ? 0 : 1}
|
3
|
+
- if title?
|
4
|
+
title=title
|
5
|
+
- if attr? :width
|
6
|
+
<?dbhtml table-width="#{attr :width}"?>
|
7
|
+
<?dbfo table-width="#{attr :width}"?>
|
8
|
+
<?dblatex table-width="#{attr :width}"?>
|
9
|
+
tgroup cols=(attr :colcount)
|
10
|
+
- @columns.each do |col|
|
11
|
+
colspec colname="col_#{col.attr :colnumber}" colwidth="#{col.attr((attr? :width) ? :colabswidth : :colpcwidth)}*" /
|
12
|
+
- [:head, :foot, :body].select {|tblsec| !@rows[tblsec].empty? }.each do |tblsec|
|
13
|
+
*{:tag=>"t#{tblsec}"}
|
14
|
+
- @rows[tblsec].each do |row|
|
15
|
+
row
|
16
|
+
- row.each do |cell|
|
17
|
+
entry(align=(cell.attr :halign) valign=(cell.attr :valign)
|
18
|
+
namest=(cell.colspan && "col_#{cell.column.attr :colnumber}")
|
19
|
+
nameend=(cell.colspan && "col_#{(cell.column.attr :colnumber) + cell.colspan - 1}")
|
20
|
+
morerows=(cell.rowspan && (cell.rowspan - 1)))
|
21
|
+
- if tblsec == :head
|
22
|
+
=cell.text
|
23
|
+
- else
|
24
|
+
- case cell.attr :style
|
25
|
+
- when :asciidoc
|
26
|
+
=cell.content
|
27
|
+
- when :verse
|
28
|
+
literallayout=cell.text
|
29
|
+
- when :literal
|
30
|
+
literallayout class='monospaced' =cell.text
|
31
|
+
- when :header
|
32
|
+
- cell.content.each do |text|
|
33
|
+
simpara: emphasis role='strong' =text
|
34
|
+
- else
|
35
|
+
- cell.content.each do |text|
|
36
|
+
simpara=text
|
@@ -0,0 +1,18 @@
|
|
1
|
+
- if attr? :style, 'bibliography'
|
2
|
+
bibliodiv id=@id role=(attr :role) xreflabel=(attr :reftext)
|
3
|
+
- if title?
|
4
|
+
title=title
|
5
|
+
- items.each do |item|
|
6
|
+
bibliomixed
|
7
|
+
bibliomisc=item.text
|
8
|
+
- if item.blocks?
|
9
|
+
=item.content
|
10
|
+
- else
|
11
|
+
itemizedlist id=@id role=(attr :role) xreflabel=(attr :reftext)
|
12
|
+
- if title?
|
13
|
+
title=title
|
14
|
+
- items.each do |item|
|
15
|
+
listitem
|
16
|
+
simpara=item.text
|
17
|
+
- if item.blocks?
|
18
|
+
=item.content
|
@@ -0,0 +1,10 @@
|
|
1
|
+
blockquote id=@id role=(attr :role) xreflabel=(attr :reftext)
|
2
|
+
- if title?
|
3
|
+
title=title
|
4
|
+
- if (attr? :attribution) || (attr? :citetitle)
|
5
|
+
attribution
|
6
|
+
- if attr? :attribution
|
7
|
+
=attr :attribution
|
8
|
+
- if attr? :citetitle
|
9
|
+
citetitle=attr :citetitle
|
10
|
+
literallayout=content
|
@@ -0,0 +1,63 @@
|
|
1
|
+
- docinfo = Helpers.capture_output do
|
2
|
+
- if has_header? && !notitle
|
3
|
+
- segments = @header.title.rpartition(': ')
|
4
|
+
- if segments.first.empty?
|
5
|
+
title=segments.last
|
6
|
+
- else
|
7
|
+
title=segments.first
|
8
|
+
subtitle=segments.last
|
9
|
+
date=(attr? :revdate) ? (attr :revdate) : (attr :docdate)
|
10
|
+
- if has_header?
|
11
|
+
- if attr? :author
|
12
|
+
- if attr? :authorcount, 1
|
13
|
+
author
|
14
|
+
- if attr? :firstname
|
15
|
+
firstname=attr :firstname
|
16
|
+
- if attr? :middlename
|
17
|
+
othername=attr :middlename
|
18
|
+
- if attr? :lastname
|
19
|
+
surname=attr :lastname
|
20
|
+
- if attr? :email
|
21
|
+
email=attr :email
|
22
|
+
authorinitials=attr :authorinitials
|
23
|
+
- else
|
24
|
+
authorgroup
|
25
|
+
- (1..(attr :authorcount)).each do |idx|
|
26
|
+
author
|
27
|
+
- if attr? "firstname_#{idx}"
|
28
|
+
firstname=attr "firstname_#{idx}"
|
29
|
+
- if attr? "middlename_#{idx}"
|
30
|
+
othername=attr "middlename_#{idx}"
|
31
|
+
- if attr? "lastname_#{idx}"
|
32
|
+
surname=attr "lastname_#{idx}"
|
33
|
+
- if attr? "email_#{idx}"
|
34
|
+
email=attr "email_#{idx}"
|
35
|
+
/ this check seems weak
|
36
|
+
- if (attr? :revnumber) || (attr? :revremark)
|
37
|
+
revhistory
|
38
|
+
- if attr? :revnumber
|
39
|
+
revision
|
40
|
+
revnumber=attr :revnumber
|
41
|
+
- if attr? :revdate
|
42
|
+
date=attr :revdate
|
43
|
+
- if attr? :authorinitials
|
44
|
+
authorinitials=attr :authorinitials
|
45
|
+
- if attr? :revremark
|
46
|
+
revremark=attr :revremark
|
47
|
+
| <?xml version="1.0" encoding="#{attr :encoding}"?>
|
48
|
+
| <!DOCTYPE #{doctype} PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
49
|
+
- if attr? :toc
|
50
|
+
<?asciidoc-toc?>
|
51
|
+
- if attr? :numbered
|
52
|
+
<?asciidoc-numbered?>
|
53
|
+
- case doctype
|
54
|
+
- when 'book'
|
55
|
+
book lang=(attr :lang, 'en' unless attr? :nolang)
|
56
|
+
bookinfo
|
57
|
+
- docinfo.yield
|
58
|
+
=content
|
59
|
+
- when 'article'
|
60
|
+
article lang=(attr :lang, 'en' unless attr? :nolang)
|
61
|
+
articleinfo
|
62
|
+
- docinfo.yield
|
63
|
+
=content
|
@@ -0,0 +1 @@
|
|
1
|
+
=content
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Add custom functions to this module that you want to use in your Slim
|
2
|
+
# templates. Within the template you must namespace the function
|
3
|
+
# (unless someone can show me how to include them in the evaluation context).
|
4
|
+
# You can change the namespace to whatever you want.
|
5
|
+
module Helpers
|
6
|
+
def self.capture_output(*args, &block)
|
7
|
+
Proc.new { block.call(*args) }
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
- case @type
|
2
|
+
- when :ref
|
3
|
+
anchor id=@target xreflabel=@text /
|
4
|
+
- when :xref
|
5
|
+
- if @text.nil?
|
6
|
+
xref linkend=@target /
|
7
|
+
- else
|
8
|
+
link linkend=@target =@text
|
9
|
+
- when :link
|
10
|
+
ulink url=@target =@text
|
11
|
+
- when :bibref
|
12
|
+
anchor id=@target xreflabel="[#@target]"
|
13
|
+
| [#@target]
|
@@ -0,0 +1 @@
|
|
1
|
+
co id=@id /
|
@@ -0,0 +1,16 @@
|
|
1
|
+
- if @type == :visible
|
2
|
+
indexterm: primary=@text
|
3
|
+
=@text
|
4
|
+
- else
|
5
|
+
- terms = (attr :terms)
|
6
|
+
- numterms = terms.size
|
7
|
+
- if numterms > 2
|
8
|
+
indexterm
|
9
|
+
primary=terms[0]
|
10
|
+
secondary=terms[1]
|
11
|
+
tertiary=terms[2]
|
12
|
+
- if numterms > 1
|
13
|
+
indexterm
|
14
|
+
primary=terms[numterms - 2]
|
15
|
+
secondary=terms[numterms - 1]
|
16
|
+
indexterm: primary=terms[numterms - 1]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
- if attr? :role
|
2
|
+
- text = "<phrase role=\"#{attr :role}\">#@text</phrase>"
|
3
|
+
- else
|
4
|
+
- text = @text
|
5
|
+
- case @type
|
6
|
+
- when :emphasis
|
7
|
+
emphasis=text
|
8
|
+
- when :strong
|
9
|
+
emphasis role='strong' =text
|
10
|
+
- when :monospaced
|
11
|
+
literal=text
|
12
|
+
- when :superscript
|
13
|
+
superscript=text
|
14
|
+
- when :subscript
|
15
|
+
subscript=text
|
16
|
+
- when :double
|
17
|
+
| “#{text}”
|
18
|
+
- when :single
|
19
|
+
| ‘#{text}’
|
20
|
+
- else
|
21
|
+
=text
|
@@ -0,0 +1,335 @@
|
|
1
|
+
html lang=(attr :lang, 'en' unless attr? :nolang)
|
2
|
+
head
|
3
|
+
meta charset="utf-8"
|
4
|
+
title reveal.js - The HTML Presentation Framework
|
5
|
+
meta content="A framework for easily creating beautiful presentations using HTML" name="description"
|
6
|
+
meta content="Hakim El Hattab" name="author"
|
7
|
+
meta content="yes" name="apple-mobile-web-app-capable"
|
8
|
+
meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"
|
9
|
+
meta content="width=(device-width, initial-scale=1.0, maximum-scale=1.0,)user-scalable=no" name="viewport"
|
10
|
+
link href="css/reveal.min.css" rel="stylesheet"
|
11
|
+
link#theme href="css/theme/default.css" rel="stylesheet"
|
12
|
+
/! For syntax highlighting
|
13
|
+
link href="lib/css/zenburn.css" rel="stylesheet"
|
14
|
+
/! If the query includes 'print-pdf', use the PDF print sheet
|
15
|
+
javascript:
|
16
|
+
| document.write( '' );
|
17
|
+
/![if lt IE 9]
|
18
|
+
| <script src="lib/js/html5shiv.js"></script>
|
19
|
+
body
|
20
|
+
.reveal
|
21
|
+
/! Any section element inside of this container is displayed as a slide
|
22
|
+
.slides
|
23
|
+
section
|
24
|
+
h1 Reveal.js
|
25
|
+
h3 HTML Presentations Made Easy
|
26
|
+
p
|
27
|
+
small
|
28
|
+
| Created by
|
29
|
+
a href="http://hakim.se"
|
30
|
+
| \/
|
31
|
+
a href="http://twitter.com/hakimel"
|
32
|
+
section
|
33
|
+
h2 Heads Up
|
34
|
+
p
|
35
|
+
| reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
|
36
|
+
| support for CSS 3D transforms to see it in its full glory.
|
37
|
+
aside.notes
|
38
|
+
| Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
|
39
|
+
/! Example of nested vertical slides
|
40
|
+
section
|
41
|
+
section
|
42
|
+
h2 Vertical Slides
|
43
|
+
p
|
44
|
+
| Slides can be nested inside of other slides,
|
45
|
+
| try pressing
|
46
|
+
= succeed "." do
|
47
|
+
a.navigate-down href="#"
|
48
|
+
a.image.navigate-down href="#"
|
49
|
+
img alt="Down arrow" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" width="178"
|
50
|
+
section
|
51
|
+
h2 Basement Level 1
|
52
|
+
p Press down or up to navigate.
|
53
|
+
section
|
54
|
+
h2 Basement Level 2
|
55
|
+
p Cornify
|
56
|
+
a.test href="http://cornify.com"
|
57
|
+
img alt="Unicorn" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" width="280"
|
58
|
+
section
|
59
|
+
h2 Basement Level 3
|
60
|
+
p That's it, time to go back up.
|
61
|
+
a.image href="#/2"
|
62
|
+
img alt="Up arrow" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" style="-webkit-transform: rotate(180deg);" width="178"
|
63
|
+
section
|
64
|
+
h2 Slides
|
65
|
+
p
|
66
|
+
| Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at
|
67
|
+
= succeed "." do
|
68
|
+
a href="http://slid.es" target="_blank"
|
69
|
+
section
|
70
|
+
h2 Point of View
|
71
|
+
p
|
72
|
+
| Press
|
73
|
+
strong ESC
|
74
|
+
| to enter the slide overview.
|
75
|
+
p
|
76
|
+
| Hold down alt and click on any element to zoom in on it using
|
77
|
+
= succeed "." do
|
78
|
+
a href="http://lab.hakim.se/zoom-js"
|
79
|
+
| Alt + click anywhere to zoom back out.
|
80
|
+
section
|
81
|
+
h2 Works in Mobile Safari
|
82
|
+
p
|
83
|
+
| Try it out! You can swipe through the slides and pinch your way to the overview.
|
84
|
+
section
|
85
|
+
h2 Marvelous Unordered List
|
86
|
+
ul
|
87
|
+
li No order here
|
88
|
+
li Or here
|
89
|
+
li Or here
|
90
|
+
li Or here
|
91
|
+
section
|
92
|
+
h2 Fantastic Ordered List
|
93
|
+
ol
|
94
|
+
li One is smaller than...
|
95
|
+
li Two is smaller than...
|
96
|
+
li Three!
|
97
|
+
section data-markdown=""
|
98
|
+
script type="text/template"
|
99
|
+
| \## Markdown support
|
100
|
+
|
101
|
+
| For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
|
102
|
+
|
103
|
+
| ```
|
104
|
+
section data-markdown=""
|
105
|
+
| \## Markdown support
|
106
|
+
|
107
|
+
| For those of you who like that sort of thing.
|
108
|
+
| Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
|
109
|
+
| ```
|
110
|
+
section#transitions
|
111
|
+
h2 Transition Styles
|
112
|
+
p
|
113
|
+
| You can select from different transitions, like:
|
114
|
+
br
|
115
|
+
a href="?transition=cube#/transitions"
|
116
|
+
| \-
|
117
|
+
a href="?transition=page#/transitions"
|
118
|
+
| \-
|
119
|
+
a href="?transition=concave#/transitions"
|
120
|
+
| \-
|
121
|
+
a href="?transition=zoom#/transitions"
|
122
|
+
| \-
|
123
|
+
a href="?transition=linear#/transitions"
|
124
|
+
| \-
|
125
|
+
a href="?transition=fade#/transitions"
|
126
|
+
| \-
|
127
|
+
a href="?transition=none#/transitions"
|
128
|
+
| \-
|
129
|
+
a href="?#/transitions"
|
130
|
+
section#themes
|
131
|
+
h2 Themes
|
132
|
+
p
|
133
|
+
| Reveal.js comes with a few themes built in:
|
134
|
+
br
|
135
|
+
a href="?#/themes"
|
136
|
+
| \-
|
137
|
+
a href="?theme=sky#/themes"
|
138
|
+
| \-
|
139
|
+
a href="?theme=beige#/themes"
|
140
|
+
| \-
|
141
|
+
a href="?theme=simple#/themes"
|
142
|
+
| \-
|
143
|
+
a href="?theme=serif#/themes"
|
144
|
+
| \-
|
145
|
+
a href="?theme=night#/themes"
|
146
|
+
br
|
147
|
+
a href="?theme=moon.css#/themes"
|
148
|
+
| \-
|
149
|
+
a href="?theme=simple.css#/themes"
|
150
|
+
| \-
|
151
|
+
a href="?theme=solarized.css#/themes"
|
152
|
+
p
|
153
|
+
small
|
154
|
+
| * Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the
|
155
|
+
code <head>
|
156
|
+
| using a
|
157
|
+
= succeed "." do
|
158
|
+
code <link>
|
159
|
+
section
|
160
|
+
h2 Global State
|
161
|
+
p
|
162
|
+
| Set
|
163
|
+
code data-state="something"
|
164
|
+
| on a slide and
|
165
|
+
code "something"
|
166
|
+
| will be added as a class to the document element when the slide is open. This lets you
|
167
|
+
| apply broader style changes, like switching the background.
|
168
|
+
section data-state="customevent"
|
169
|
+
h2 Custom Events
|
170
|
+
p
|
171
|
+
| Additionally custom events can be triggered on a per slide basis by binding to the
|
172
|
+
code data-state
|
173
|
+
| name.
|
174
|
+
pre
|
175
|
+
code contenteditable="" data-trim="" style="font-size: 18px; margin-top: 20px;"
|
176
|
+
preserve:
|
177
|
+
|
178
|
+
| Reveal.addEventListener( 'customevent', function() {
|
179
|
+
| console.log( '"customevent" has fired' );
|
180
|
+
| } );
|
181
|
+
section
|
182
|
+
section data-background="#007777"
|
183
|
+
h2 Slide Backgrounds
|
184
|
+
p
|
185
|
+
| Set
|
186
|
+
code data-background="#007777"
|
187
|
+
| on a slide to change the full page background to the given color. All CSS color formats are supported.
|
188
|
+
a.image.navigate-down href="#"
|
189
|
+
img alt="Down arrow" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" width="178"
|
190
|
+
section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png"
|
191
|
+
h2 Image Backgrounds
|
192
|
+
pre
|
193
|
+
code <section data-background="image.png">
|
194
|
+
section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px"
|
195
|
+
h2 Repeated Image Backgrounds
|
196
|
+
pre
|
197
|
+
code style="word-wrap: break-word;"
|
198
|
+
section data-background="#4d7e65" data-background-transition="slide" data-transition="linear"
|
199
|
+
h2 Background Transitions
|
200
|
+
p
|
201
|
+
| Pass reveal.js the
|
202
|
+
code backgroundTransition: 'slide'
|
203
|
+
| config argument to make backgrounds slide rather than fade.
|
204
|
+
section data-background="#8c4738" data-background-transition="slide" data-transition="linear"
|
205
|
+
h2 Background Transition Override
|
206
|
+
p
|
207
|
+
| You can override background transitions per slide by using
|
208
|
+
= succeed "." do
|
209
|
+
code data-background-transition="slide"
|
210
|
+
section
|
211
|
+
h2 Clever Quotes
|
212
|
+
p
|
213
|
+
| These guys come in two forms, inline:
|
214
|
+
q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations"
|
215
|
+
| \“The nice thing about standards is that there are so many to choose from”
|
216
|
+
| and block:
|
217
|
+
blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations"
|
218
|
+
| \“For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
|
219
|
+
| reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.”
|
220
|
+
section
|
221
|
+
h2 Pretty Code
|
222
|
+
pre
|
223
|
+
code contenteditable="" data-trim=""
|
224
|
+
preserve:
|
225
|
+
|
226
|
+
| function linkify( selector ) {
|
227
|
+
| if( supports3DTransforms ) {
|
228
|
+
|
229
|
+
| var nodes = document.querySelectorAll( selector );
|
230
|
+
|
231
|
+
| for( var i = 0, len = nodes.length; i < len; i++ ) {
|
232
|
+
| var node = nodes[i];
|
233
|
+
|
234
|
+
| if( !node.className ) {
|
235
|
+
| node.className += ' roll';
|
236
|
+
| }
|
237
|
+
| }
|
238
|
+
| }
|
239
|
+
| }
|
240
|
+
p
|
241
|
+
| Courtesy of
|
242
|
+
= succeed "." do
|
243
|
+
a href="http://softwaremaniacs.org/soft/highlight/en/description/"
|
244
|
+
section
|
245
|
+
h2 Intergalactic Interconnections
|
246
|
+
p
|
247
|
+
| You can link between slides internally,
|
248
|
+
= succeed "." do
|
249
|
+
a href="#/2/3"
|
250
|
+
section
|
251
|
+
section#fragments
|
252
|
+
h2 Fragmented Views
|
253
|
+
p Hit the next arrow...
|
254
|
+
p.fragment ... to step through ...
|
255
|
+
ol
|
256
|
+
li.fragment
|
257
|
+
code any type
|
258
|
+
li.fragment
|
259
|
+
em of view
|
260
|
+
li.fragment
|
261
|
+
strong fragments
|
262
|
+
aside.notes
|
263
|
+
| This slide has fragments which are also stepped through in the notes window.
|
264
|
+
section
|
265
|
+
h2 Fragment Styles
|
266
|
+
p There's a few styles of fragments, like:
|
267
|
+
p.fragment.grow grow
|
268
|
+
p.fragment.shrink shrink
|
269
|
+
p.fragment.roll-in roll-in
|
270
|
+
p.fragment.fade-out fade-out
|
271
|
+
p.fragment.highlight-red highlight-red
|
272
|
+
p.fragment.highlight-green highlight-green
|
273
|
+
p.fragment.highlight-blue highlight-blue
|
274
|
+
p.fragment.current-visible current-visible
|
275
|
+
p.fragment.highlight-current-blue highlight-current-blue
|
276
|
+
section
|
277
|
+
h2 Spectacular image!
|
278
|
+
a.image href="http://lab.hakim.se/meny/" target="_blank"
|
279
|
+
img alt="Meny" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" width="320"
|
280
|
+
section
|
281
|
+
h2 Export to PDF
|
282
|
+
p
|
283
|
+
| Presentations can be
|
284
|
+
= succeed "," do
|
285
|
+
a href="https://github.com/hakimel/reveal.js#pdf-export"
|
286
|
+
| below is an example that's been uploaded to SlideShare.
|
287
|
+
iframe#slideshare allowfullscreen="" height="356" src="http://www.slideshare.net/slideshow/embed_code/13872948" style="margin:0;overflow:hidden;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" width="455"
|
288
|
+
| document.getElementById('slideshare').attributeName = 'allowfullscreen';
|
289
|
+
section
|
290
|
+
h2 Take a Moment
|
291
|
+
p
|
292
|
+
| Press b or period on your keyboard to enter the 'paused' mode. This mode is helpful when you want to take distracting slides off the screen
|
293
|
+
| during a presentation.
|
294
|
+
section
|
295
|
+
h2 Stellar Links
|
296
|
+
ul
|
297
|
+
li
|
298
|
+
a href="http://slid.es"
|
299
|
+
li
|
300
|
+
a href="https://github.com/hakimel/reveal.js"
|
301
|
+
li
|
302
|
+
a href="http://twitter.com/hakimel"
|
303
|
+
section
|
304
|
+
h1 THE END
|
305
|
+
h3 BY Hakim El Hattab / hakim.se
|
306
|
+
script src="lib/js/head.min.js"
|
307
|
+
script src="js/reveal.min.js"
|
308
|
+
javascript:
|
309
|
+
/!/ Full list of configuration options available here:
|
310
|
+
/!/ https://github.com/hakimel/reveal.js#configuration
|
311
|
+
| Reveal.initialize({
|
312
|
+
| controls: true,
|
313
|
+
| progress: true,
|
314
|
+
| history: true,
|
315
|
+
| center: true,
|
316
|
+
|
317
|
+
| theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
|
318
|
+
| transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
|
319
|
+
|
320
|
+
/!/ Parallax scrolling
|
321
|
+
/!/ parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
|
322
|
+
/!/ parallaxBackgroundSize: '2100px 900px',
|
323
|
+
|
324
|
+
/!/ Optional libraries used to extend on reveal.js
|
325
|
+
| dependencies: [
|
326
|
+
| { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
|
327
|
+
| { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
328
|
+
| { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
329
|
+
| { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
330
|
+
| { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
331
|
+
| { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
|
332
|
+
| ]
|
333
|
+
| });
|
334
|
+
|
335
|
+
|