Slides for WordCamp Norway, 2013
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_includes
_layouts
assets
.gitignore
README.md
_config.yml
index.md

README.md

What is this?

This is the html5slides script embeded into a Jekyll site.

Why do you need Jekyll?

Because I frequently need to embed code snippets. If I was using a plain HTML file, I would have to manually escape them.

With Jekyll, I can create a separate file in the _includes directory and escape it programatically.

Example:

{% capture code %}{% include repl.txt %}{% endcapture raw %}

<pre>{{ code | escape }}</pre>

Setup

Have Jekyll installed:

sudo gem install jekyll

Build and view

jekyll --server --auto