aboutsummaryrefslogtreecommitdiff
path: root/templates/Highlighting.no.hs
diff options
context:
space:
mode:
Diffstat (limited to 'templates/Highlighting.no.hs')
-rw-r--r--templates/Highlighting.no.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/Highlighting.no.hs b/templates/Highlighting.no.hs
index 2acea4420..ed6b7c325 100644
--- a/templates/Highlighting.no.hs
+++ b/templates/Highlighting.no.hs
@@ -30,10 +30,10 @@ Exports functions for syntax highlighting.
module Text.Pandoc.Highlighting ( languages, highlightHtml ) where
import Text.XHtml
+import Text.Pandoc.Definition
languages :: [String]
languages = []
-highlightHtml :: [String] -> String -> Either String Html
-highlightHtml classes str = Left "Pandoc was not compiled with support for highlighting"
-
+highlightHtml :: Attr -> String -> Either String Html
+highlightHtml _ _ = Left "Pandoc was not compiled with support for highlighting"