Support both literate haskell and pure markdown