自分用にメモ。
インストール
- GitHubリポジトリからmasterブランチを適当な場所にclone
-
cd reveal.js; && npm install
する - index.htmlを以下のように編集
index.html
<div class="reveal">
<div class="slides">
<section data-markdown="slides/slide1.md"
data-separator="\n---\n$"
data-vertical="\n--\n">
<script type="text/template">
</script>
</section>
</div>
</div>
- ディレクトリ、ファイル作成
$ mkdir slides
$ touch slides/slide1.md
- ローカルで見る
$ npm start