https://github.com/scribu/wordcamp-norway-2013
Slides for WordCamp Norway, 2013
https://github.com/scribu/wordcamp-norway-2013
Last synced: about 1 month ago
JSON representation
Slides for WordCamp Norway, 2013
- Host: GitHub
- URL: https://github.com/scribu/wordcamp-norway-2013
- Owner: scribu
- Created: 2013-01-24T19:18:19.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-01T21:05:19.000Z (over 13 years ago)
- Last Synced: 2024-10-18T15:53:12.095Z (over 1 year ago)
- Language: JavaScript
- Homepage: scribu.net/slides/wordcamp-norway-2013/
- Size: 234 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This is the [html5slides][1] script embeded into a [Jekyll][2] 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:
```html
{% capture code %}{% include repl.txt %}{% endcapture raw %}
{{ code | escape }}
```
## Setup
Have [Jekyll][2] installed:
```bash
sudo gem install jekyll
```
## Build and view
```bash
jekyll --server --auto
```
[1]: https://code.google.com/p/html5slides/
[2]: http://jekyllrb.com