X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.md;h=d95ac12a489e74d5af3236747243e743b8a6c34b;hb=f7a6219e119fedd3abd3d6967f1c6d104b04d8e4;hp=fe9e6b51a1e16eb60dd19303dbce20725216fe2c;hpb=561b9b116c18c2d433f610cad14bfdc54d4e75be;p=advent-of-code-16.git diff --git a/README.md b/README.md index fe9e6b5..d95ac12 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ --- title: "Advent of Code 2016" -output: - html_document: - css: modest.css +output: html_document +css: modest.css --- - - -# Advent of Code 2016 - Code to solve the [Advent of Code](http://adventofcode.com/2016/) puzzles. This year, I'm trying to use the puzzles as a prompt to learn [Haskell](https://wiki.haskell.org/Haskell). [Learn you a Haskell](http://learnyouahaskell.com/chapters), [Introduction to Haskell 98](https://www.haskell.org/tutorial/index.html), and [Hackage](https://hackage.haskell.org/) are good resources. @@ -20,7 +15,7 @@ $ sudo aptitude install haskell-platform Compile the code with ``` -ghc -o advent01 advent01.hs +ghc --make advent01.hs ``` then run it as @@ -28,4 +23,9 @@ then run it as advent01 ``` +Build this readme file wth +``` +pandoc -s README.md > README.html +``` + (Using the [Modest styles](https://github.com/markdowncss/modest).) \ No newline at end of file