Created
June 6, 2015 16:21
-
-
Save kaosf/860356ad729221f8729a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # OS: Ubuntu 14.04 amd64 | |
| # `cat /etc/lsb-release` | |
| #=> | |
| # DISTRIB_ID=Ubuntu | |
| # DISTRIB_RELEASE=14.04 | |
| # DISTRIB_CODENAME=trusty | |
| # DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" | |
| sudo apt-get install haskell-platform | |
| echo 'export PATH=$HOME/.cabal/bin:$PATH' >> $HOME/.zshenv | |
| source $HOME/.zshenv | |
| cabal update | |
| cabal install pandoc | |
| # pandoc version: 1.14.0.4 | |
| # NOTE | |
| # "-t", "slidy", "-i", "-s", "-V", "slidy-url=." | |
| # Reference | |
| # https://github.com/igrep/igreque.info/blob/b880fbf9ce0443f4c756a9843dc065fa7e67ac6f/main.hs#L64-L69 | |
| pandoc -i input.md -t slidy -s > output1.html | |
| pandoc -i input.md -t slidy -s -V slidy-url=. > output.html | |
| mkdir styles scripts | |
| wget http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css -O styles/slidy.css | |
| wget http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js -O scripts/slidy.js | |
| # Reference | |
| # http://the.igreque.info/slides/2015-06-04-omotesando.rb.html#%281%29 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment