diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9249e85..0000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -language: ruby -script: "bundle exec jekyll build" diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 053c27d..0000000 --- a/Gemfile +++ /dev/null @@ -1,2 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages' diff --git a/_config.yml b/_config.yml index 7cb9d34..8aa2995 100644 --- a/_config.yml +++ b/_config.yml @@ -1,21 +1,22 @@ -safe: true -markdown: kramdown -pygments: true -permalink: /:title.html -relative_permalinks: false +# Jekyll +safe: true +markdown: kramdown +highlighter: pygments +permalink: /:title.html +# Leave it blank, or use either relative path or absolute path +url: -default_theme: ribbon -default_width: 792 -default_lang: en -default_body_class: list +collections: + examples: + output: true + slides: + output: true -author: - name: Yours Truly - # url: http://example.com/ - company: - name: Famous Inc. - # url: http://example.com/ - -fork_url: https://github.com/shower/shower -progress: true -line_numbers: true +# Shower +default: + lang: en + width: 792 + theme: ribbon + mode: list + progress: true + mathjax: false diff --git a/_examples/bright.md b/_examples/bright.md new file mode 100644 index 0000000..7fd4828 --- /dev/null +++ b/_examples/bright.md @@ -0,0 +1,189 @@ +--- +layout: slide +theme: bright +title: Presentation Title +subtitle: 'Yours Truly, Famous Inc.' +badge: + text: Fork me on Github + url: https://github.com/shower/shower +--- + +## Header + +Typewriter etsy messenger bag [fingerstache](), aesthetic vinyl semiotics twee **DIY** forage chillwave. Thundercats ennui messenger bag, *squid* carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin `` fanny pack 3 wolf moon typewriter gastropub1 kale H2O chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips. + + +## Header + +Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. + +Typewriter etsy messenger bag fingerstache. +{: .note } + + +## Lists in English typography + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + 1. Locavore umami vegan helvetica + 2. Fingerstache kale chips + 3. Keytar sriracha gluten-free +- Before they sold out master + + +## Lists in Russian typography +{: lang="ru" } + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + 1. Locavore umami vegan helvetica + 2. Fingerstache kale chips + 3. Keytar sriracha gluten-free +- Before they sold out master + + +## Lists in English typography + +1. Locavore umami vegan helvetica +2. Fingerstache kale chips +3. Keytar sriracha gluten-free + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + + +## Quote + +> Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. + +--Author Name + +DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. + + +## Table + +| Locavore | Umami | Helvetica | Vegan | ++------------------|-------------|-----------|-----------+ +| **Fingerstache** | Kale | Chips | Keytar | +| **Sriracha** | Gluten-free | Ennui | Keffiyeh | +| **Thundercats** | Jean | Shorts | Biodiesel | +| **Terry** | Richardson | Swag | Blog | + +Typewriter etsy messenger bag fingerstache. + + +## Numbered code listing - HTML + +{% raw %} +
+  <html lang="en">
+  <head> <!--Comment-->
+      <title>Shower</title>
+      <meta charset="UTF-8">
+      <link rel="stylesheet" href="s/screen.css">
+      <script src="j/jquery.js"></script>
+  </head>
+
+{% endraw %} + + +## Numbered code listing - Markdown + +{% highlight html linenos %} + + + Shower + + + + +{% endhighlight %} + + +## Plain code listing + +{% raw %} +
<html lang="en">
+<head> <!--Comment-->
+    <title>Shower</title>
+    <meta charset="UTF-8">
+    <link rel="stylesheet" href="s/screen.css">
+    <script src="j/jquery.js"></script>
+</head>
+
+{% endraw %} + + +## Plain code listing - Markdown + +{% highlight html %} + + + Shower + + + + +{% endhighlight %} + + +## You Can
Shout This Way +{: .shout} + +## [Linked Shout]() +{: .shout} + +## Sliding Right +{: .shout .right } + +## Sliding Up +{: .shout .up } + +## ![]({{ site.url }}/themes/bright/pictures/exact.png) +{: .cover } + +## ![]({{ site.url }}/themes/bright/pictures/wide.png) +{: .cover .w } + +## ![]({{ site.url }}/themes/bright/pictures/tall.png) +{: .cover .h } + +## ![]({{ site.url }}/themes/bright/pictures/wide.png) +{: .cover .h } + +## ![]({{ site.url }}/themes/bright/pictures/tall.png) +{: .cover .w } + +##   +{: .shout} + +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t .r } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .r } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b .r } + + +## Timer +{: data-timing="00:03" } + +Three seconds to go. + + +## List navigation + +1. Ennui keffiyeh thundercats +2. ...Jean shorts biodiesel +3. ...Terry richardson, swag blog +4. ...Locavore umami vegan helvetica +5. ...Fingerstache kale chips + +...Before they sold out master diff --git a/_examples/ribbon.md b/_examples/ribbon.md new file mode 100644 index 0000000..1667682 --- /dev/null +++ b/_examples/ribbon.md @@ -0,0 +1,189 @@ +--- +layout: slide +theme: ribbon +title: Presentation Title +subtitle: 'Yours Truly, Famous Inc.' +badge: + text: Fork me on Github + url: https://github.com/shower/shower +--- + +## Header + +Typewriter etsy messenger bag [fingerstache](), aesthetic vinyl semiotics twee **DIY** forage chillwave. Thundercats ennui messenger bag, *squid* carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin `` fanny pack 3 wolf moon typewriter gastropub1 kale H2O chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips. + + +## Header + +Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. Ennui keffiyeh thundercats jean shorts biodiesel. Terry richardson, swag blog locavore umami vegan helvetica. Fingerstache kale chips. + +Typewriter etsy messenger bag fingerstache. +{: .note } + + +## Lists in English typography + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + 1. Locavore umami vegan helvetica + 2. Fingerstache kale chips + 3. Keytar sriracha gluten-free +- Before they sold out master + + +## Lists in Russian typography +{: lang="ru" } + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + 1. Locavore umami vegan helvetica + 2. Fingerstache kale chips + 3. Keytar sriracha gluten-free +- Before they sold out master + + +## Lists in English typography + +1. Locavore umami vegan helvetica +2. Fingerstache kale chips +3. Keytar sriracha gluten-free + +- Ennui keffiyeh thundercats +- Jean shorts biodiesel +- Terry richardson, swag blog + + +## Quote + +> Typewriter etsy messenger bag fingerstache, aesthetic vinyl semiotics twee DIY forage chillwave. Thundercats ennui messenger bag, squid carles chillwave shoreditch pickled cliche letterpress. + +--Author Name + +DIY beard locavore occupy salvia, whatever single-origin coffee fanny pack 3 wolf moon typewriter gastropub kale chips. + + +## Table + +| Locavore | Umami | Helvetica | Vegan | ++------------------|-------------|-----------|-----------+ +| **Fingerstache** | Kale | Chips | Keytar | +| **Sriracha** | Gluten-free | Ennui | Keffiyeh | +| **Thundercats** | Jean | Shorts | Biodiesel | +| **Terry** | Richardson | Swag | Blog | + +Typewriter etsy messenger bag fingerstache. + + +## Numbered code listing - HTML + +{% raw %} +
+  <html lang="en">
+  <head> <!--Comment-->
+      <title>Shower</title>
+      <meta charset="UTF-8">
+      <link rel="stylesheet" href="s/screen.css">
+      <script src="j/jquery.js"></script>
+  </head>
+
+{% endraw %} + + +## Numbered code listing - Markdown + +{% highlight html linenos %} + + + Shower + + + + +{% endhighlight %} + + +## Plain code listing + +{% raw %} +
<html lang="en">
+<head> <!--Comment-->
+    <title>Shower</title>
+    <meta charset="UTF-8">
+    <link rel="stylesheet" href="s/screen.css">
+    <script src="j/jquery.js"></script>
+</head>
+
+{% endraw %} + + +## Plain code listing - Markdown + +{% highlight html %} + + + Shower + + + + +{% endhighlight %} + + +## You Can
Shout This Way +{: .shout} + +## [Linked Shout]() +{: .shout} + +## Growing shout +{: .shout .grow } + +## Shrinking shoud +{: .shout .shrink } + +## ![]({{ site.url }}/themes/bright/pictures/exact.png) +{: .cover } + +## ![]({{ site.url }}/themes/bright/pictures/wide.png) +{: .cover .w } + +## ![]({{ site.url }}/themes/bright/pictures/tall.png) +{: .cover .h } + +## ![]({{ site.url }}/themes/bright/pictures/wide.png) +{: .cover .h } + +## ![]({{ site.url }}/themes/bright/pictures/tall.png) +{: .cover .w } + +##   +{: .shout} + +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .t .r } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .r } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b .l } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b } +![]({{ site.url }}/themes/bright/pictures/square.png){: .place .b .r } + + +## Timer +{: data-timing="00:03" } + +Three seconds to go. + + +## List navigation + +1. Ennui keffiyeh thundercats +2. ...Jean shorts biodiesel +3. ...Terry richardson, swag blog +4. ...Locavore umami vegan helvetica +5. ...Fingerstache kale chips + +...Before they sold out master diff --git a/_examples/shower.md b/_examples/shower.md new file mode 100644 index 0000000..a21468f --- /dev/null +++ b/_examples/shower.md @@ -0,0 +1,147 @@ +--- +layout: slide +title: Shower Presentation Engine +subtitle: Yours Truly, Famous Inc. +badge: + text: Fork me on Github + url: https://github.com/shower/shower +--- + +## Shower Presentation Engine +{:.cover #Cover} + +*Brought you by [Vadim Makeev](http://pepelsbey.net/) and generated by [Jekyller](https://github.com/shower/jekyller)* + +![]({{ site.url }}/pictures/cover.jpg) + + + + +## Shower Key Features + +1. Built on HTML, CSS and vanilla JavaScript +2. All modern browsers are supported +3. Slide themes are separated from engine +4. Fully keyboard accessible +5. Printable to PDF + +{:.note} +Shower ['ʃəuə] noun. A person or thing that shows. + + +## Plain Text on Your Slides + +Lorem ipsum dolor sit amet, consectetur [adipisicing](#all-kind-of-lists) elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, *quis nostrud* exercitation ullamco laboris **nisi ut aliquip** ex ea commodo consequat. Duis aute irure *dolor* in reprehenderit in voluptate velit esse cillum **dolore** eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in `` qui officia deserunt mollit anim id est laborum. + + +## All Kind of Lists + +1. Simple lists are marked with bullets +2. Ordered lists begin with a number +3. You can even nest lists one inside another + - Or mix their types + - But do not go too far + - Otherwise audience will be bored +4. Look, seven rows exactly! + + +## Serious Citations + +> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia. + +--Marcus Tullius Cicero + + +## Code Samples - HTML + +{% raw %} +
+  <!DOCTYPE html>
+  <html lang="en">
+  <head> <!--Comment-->
+      <title>Shower</title>
+      <meta charset="UTF-8">
+      <link rel="stylesheet" href="screen.css">
+  </head>
+
+{% endraw %} + + +## Code Samples - Markdown + +{% highlight html linenos %} + + + + Shower + + + +{% endhighlight %} + + +## Even Tables + +| Locavore | Umami | Helvetica | Vegan | ++------------------|-------------|-----------|-----------+ +| **Fingerstache** | Kale | Chips | Keytar | +| **Sriracha** | Gluten-free | Ennui | Keffiyeh | +| **Thundercats** | Jean | Shorts | Biodiesel | +| **Terry** | Richardson | Swag | Blog | + +It’s good to have information organized. + + +## Pictures +{:.cover #Picture} + +![]({{ site.url }}/pictures/picture.jpg) + + + + +## You can even
shout this way +{:.shout} + + +## Inner Navigation + +1. Lets you reveal list items one by one +2. ...To keep some key points +3. ...In secret from audience +4. ...But it will work only once +5. ...Nobody wants to see the same joke twice + +## ![]({{ site.url }}/pictures/logo.svg) [See more on GitHub](https://github.com/shower/shower/) +{:.shout #SeeMore} + + diff --git a/_includes/_showerify.html b/_includes/_showerify.html new file mode 100644 index 0000000..5656d60 --- /dev/null +++ b/_includes/_showerify.html @@ -0,0 +1,40 @@ +{% capture _strip_whitespace %} + + + + +{% capture lang %}{% if page.lang %}{{ page.lang }}{% else %}{{ site.default.lang }}{% endif %}{% endcapture %} + +{% capture width %}{% if page.width %}{{ page.width }}{% else %}{{ site.default.width }}{% endif %}{% endcapture %} + +{% capture theme %}{% if page.theme %}{{ page.theme }}{% else %}{{ site.default.theme }}{% endif %}{% endcapture %} + +{% capture mode %}{% if page.mode %}{{ page.mode }}{% else %}{{ site.default.mode }}{% endif %}{% endcapture %} + +{% capture progress %}{% if page.progress %}{{ page.progress }}{% else %}{{ site.default.progress }}{% endif %}{% endcapture %} + +{% capture mathjax %}{% if page.mathjax %}{{ page.mathjax }}{% else %}{{ site.default.mathjax }}{% endif %}{% endcapture %} + + + +{% assign slides = content | split:'' | first %} + {% capture slide_content %} + {% assign slide_content = slide_content | replace:'
  • …', '