Make README pandoc-markdown-compatible

pull/51/head
Lennart Spitzner 2017-08-19 14:35:18 +02:00
parent aba7d13f67
commit 3751e83f8d
1 changed files with 36 additions and 36 deletions

View File

@ -55,32 +55,32 @@ require fixing:
- via `cabal` "old-build" - via `cabal` "old-build"
~~~~.sh ~~~~.sh
# optionally: # optionally:
# mkdir brittany # mkdir brittany
# cd brittany # cd brittany
# cabal sandbox init # cabal sandbox init
cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8_0 cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8_0
~~~~ ~~~~
- via `cabal new-build` - via `cabal new-build`
~~~~.sh ~~~~.sh
cabal unpack brittany cabal unpack brittany
cd brittany-0.8.0.2 cd brittany-0.8.0.2
# cabal new-configure -w $PATH_TO_GHC_8_0 # cabal new-configure -w $PATH_TO_GHC_8_0
cabal new-build exe:brittany cabal new-build exe:brittany
# and it should be safe to just copy the executable, e.g. # and it should be safe to just copy the executable, e.g.
cp `./find dist-newstyle/build/ -type f -name brittany` $HOME/.cabal/bin/ cp `./find dist-newstyle/build/ -type f -name brittany` $HOME/.cabal/bin/
~~~~ ~~~~
- via `stack` - via `stack`
~~~~.sh ~~~~.sh
git clone https://github.com/lspitzner/brittany.git git clone https://github.com/lspitzner/brittany.git
cd brittany cd brittany
stack install stack install
~~~~ ~~~~
# Usage # Usage
@ -92,22 +92,22 @@ require fixing:
by default, i.e. to add something like this to your by default, i.e. to add something like this to your
`~/.brittany/config.yaml` (execute `brittany` once to create default): `~/.brittany/config.yaml` (execute `brittany` once to create default):
~~~~ ~~~~
conf_forward: conf_forward:
options_ghc: options_ghc:
- -XLambdaCase - -XLambdaCase
- -XMultiWayIf - -XMultiWayIf
- -XGADTs - -XGADTs
- -XPatternGuards - -XPatternGuards
- -XViewPatterns - -XViewPatterns
- -XRecursiveDo - -XRecursiveDo
- -XTupleSections - -XTupleSections
- -XExplicitForAll - -XExplicitForAll
- -XImplicitParams - -XImplicitParams
- -XQuasiQuotes - -XQuasiQuotes
- -XTemplateHaskell - -XTemplateHaskell
- -XBangPatterns - -XBangPatterns
~~~~ ~~~~
# Implementation/High-level Documentation # Implementation/High-level Documentation