summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-19 21:59:35 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-19 21:59:53 -0800
commit569fc4c67a1c40a55133e55c93a749a08cf2d45a (patch)
tree20cb27be73752debacbd5047b0e3132bd3e4ce02
parenta936e5d34f8a5557d5d1ad212d0236dc0597ee51 (diff)
Added highlightLaTeX stub when not compiled w/ highlighting.
-rw-r--r--src/Text/Pandoc/Highlighting.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs
index 755e26e2e..b7d29aa61 100644
--- a/src/Text/Pandoc/Highlighting.hs
+++ b/src/Text/Pandoc/Highlighting.hs
@@ -94,4 +94,7 @@ languagesByExtension _ = []
highlightHtml :: Bool -> Attr -> String -> Either String Html
highlightHtml _ _ _ = Left "Pandoc was not compiled with support for highlighting"
+
+highlightLaTeX :: Bool -> Attr -> String -> Either String String
+highlightLaTeX _ _ _ = Left "Pandoc was not compiled with support for highlighting"
#endif