- 1ページ目
- 2ページ目
| # サンプルをダウンロード | |
| git clone git@github.com:harasou/slides.git | |
| # ブラウザで開く | |
| open slides/sample.html | |
| # ブラウザが Google Chrome の場合 | |
| open -a "Google Chrome" --args --allow-file-access-from-files $(pwd)/slides/sample.html |
| file:///<ダウンロードしたディレクトリ>/sample.html?apache_module.md |
| # サンプルをダウンロード | |
| git clone git@github.com:harasou/slides.git | |
| # ブラウザで開く | |
| open slides/sample.html | |
| # ブラウザが Google Chrome の場合 | |
| open -a "Google Chrome" --args --allow-file-access-from-files $(pwd)/slides/sample.html |
| file:///<ダウンロードしたディレクトリ>/sample.html?apache_module.md |
| git clone git@github.com:harasou/slides.git | |
| cd slides | |
| git checkout --orphan gh-pages |
| mkdir slides | |
| vim index.html slides/remarkjs.md | |
| git add index.html slides/remarkjs.md | |
| git commit -m "..." | |
| git push origin gh-pages |
| <DOCTYPE html> | |
| <html> | |
| <head><title>Presentation</title></head> | |
| <body> | |
| <script src="http://gnab.github.io/remark/downloads/remark-latest.min.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| var slideshow = remark.create({sourceUrl: "sample.md"}); | |
| </script> | |
| </body> | |
| </html> |