diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-24 19:38:23 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-24 19:38:23 +0100 |
commit | 81e3df1e11481f20294fcc8bc96418e40402c6ba (patch) | |
tree | a58aa57045bfba18df5f98ca9b4cb36bd9b65ddf /examples/brochure/code.lhs | |
parent | fe7182d28856514d2e19a3ef588282129cc21fe2 (diff) | |
download | hakyll-81e3df1e11481f20294fcc8bc96418e40402c6ba.tar.gz |
Added some different formats in the first example as a demonstration.
Diffstat (limited to 'examples/brochure/code.lhs')
-rw-r--r-- | examples/brochure/code.lhs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/brochure/code.lhs b/examples/brochure/code.lhs new file mode 100644 index 0000000..e98ec85 --- /dev/null +++ b/examples/brochure/code.lhs @@ -0,0 +1,21 @@ +--- +title: Code +--- +Etiam condimentum auctor semper. Donec lobortis, magna id sodales sollicitudin, +lectus mi egestas nulla, pulvinar lobortis nunc eros id nisl. Curabitur +imperdiet, erat at accumsan vulputate. + +> reverse' [] = [] +> reverse' (x:xs) = (reverse' xs) ++ [x] + +Purus nunc blandit nulla, dictum. + +vestibulum sem lorem eget ipsum. Nunc tincidunt, turpis ut fermentum dapibus, +justo tortor bibendum sem, at facilisis justo odio luctus lectus. Quisque nec +ligula ipsum. Nunc augue lacus, ullamcorper vel dapibus in, mattis eget elit. + +> main = print $ reverse' [1 .. 10] + +Integer ut dui eu felis mollis vestibulum. Etiam at nibh id diam aliquet +vestibulum sit amet a nibh. Aliquam erat volutpat. Etiam vitae nulla at dolor +fringilla tempor ut a nunc. Pellentesque elementum elit lorem. |