diff --git a/README.md b/README.md index 3488d00..08c3de9 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,22 @@ If you want to edit a page which has some custom code in it, you'll want to see the next sections for building and running instructions. Maybe also take a look at [architecture](#architecture). -If you want to include Haskell code samples, use: +If you want to include Haskell code samples in markdown, use: ``` haskell main = putStrLn "Hello, World!" ``` +If you want to include Haskell code samples in Haskell code pages, +use: + +``` haskell +haskellPre "main = print 123" +haskellCode "peyton `simon` jones" +``` + +Pre for `
` block, code for `` span snippet.
+
 ## Building
 
 Clone the repo: