@@ -120,6 +120,20 @@ The test program is `tests/test-pandoc.hs`.
120120Benchmarks can be enabled by passing the `--enable-benchmarks` flag
121121to `cabal configure`, and run using `cabal bench`.
122122
123+Using the REPL
124+--------------
125+
126+With a recent version of cabal, you can do `cabal repl` and get
127+a ghci REPL for working with pandoc. We recommend using the following
128+`.ghci` file (which can be placed in the source directory):
129+
130+```
131+:set -fobject-code
132+:set -XTypeSynonymInstances
133+:set -XScopedTypeVariables
134+:set -XOverloadedStrings
135+```
136+
123137The code
124138--------
125139