@@ -1,42 +0,0 @@
1−{-
2−Copyright (C) 2008 John MacFarlane <jgm@berkeley.edu>
3−
4−This program is free software; you can redistribute it and/or modify
5−it under the terms of the GNU General Public License as published by
6−the Free Software Foundation; either version 2 of the License, or
7−(at your option) any later version.
8−
9−This program is distributed in the hope that it will be useful,
10−but WITHOUT ANY WARRANTY; without even the implied warranty of
11−MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12−GNU General Public License for more details.
13−
14−You should have received a copy of the GNU General Public License
15−along with this program; if not, write to the Free Software
16−Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17−-}
18−
19−{- |
20− Module : Text.Pandoc.Highlighting
21− Copyright : Copyright (C) 2008 John MacFarlane
22− License : GNU GPL, version 2 or above
23−
24− Maintainer : John MacFarlane <jgm@berkeley.edu>
25− Stability : alpha
26− Portability : portable
27−
28−Exports functions for syntax highlighting.
29−-}
30−
31−module Text.Pandoc.Highlighting ( languages, highlightHtml, defaultHighlightingCss ) where
32−import Text.XHtml
33−import Text.Pandoc.Definition
34−
35−defaultHighlightingCss :: String
36−defaultHighlightingCss = ""
37−
38−languages :: [String]
39−languages = []
40−
41−highlightHtml :: Attr -> String -> Either String Html
42−highlightHtml _ _ = Left "Pandoc was not compiled with support for highlighting"