diff --git a/doc/using-the-pandoc-api.md b/doc/using-the-pandoc-api.md
index 705ad1f97..8eb34d091 100644
--- a/doc/using-the-pandoc-api.md
+++ b/doc/using-the-pandoc-api.md
@@ -55,9 +55,9 @@ Markdown input:
 # A simple example
 
 Here is a simple example of the use of a pandoc reader and
-writer to perform a conversion inside ghci:
+writer to perform a conversion:
 
-```
+```haskell
 import Text.Pandoc
 import qualified Data.Text as T
 import qualified Data.Text.IO as TIO