This is the repository for the slides presented at Ottawa.js meetups.
To view the slides, go here.
git clone
this repository- If you don't have Node installed then installed Node.js.
- Run
npm install
in the terminal from the cloned repo's directory - Run
grunt serve
to run local server on port 8000 - http://localhost:8000
The slides are created using reveal.js and use the markdown plugin.
You'll see that the index.html
pages link to markdown files in the content/
directories. These markdown files contain most of the content that makes up the slides.
The convention for separating markdown content into slides are as follows:
By adding a newline followed by a --
(2 hyphens) followed by a newline to the markdown doc, you get a new vertical slide:
## Slide 1.1
--
## Slide 1.2
--
## Slide 1.3
By adding a newline followed by a ---
(3 hyphens) followed by a newline to the markdown doc, you get a new horizontal slide:
## Slide 1
---
## Slide 2
--
## Slide 2.2
Once you've made changes to master, make sure to update the gh-pages
branch of this repo so that GitHub hosts at http://ottawajs.org/meetups.
More information on GitHub pages can be found in the GitHub guides.
git checkout gh-pages
git merge master
git push origin gh-pages