diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-03 10:14:46 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-03 10:14:46 -0800 |
commit | b63dc2ca0aa75b9ff86eb54da6ed8fb0bc508e46 (patch) | |
tree | 11360f6f10a1320e53f6047d46b0eb4e97b83db8 /src/Text/Pandoc | |
parent | 48b7d250bb5cc7656754dbd9288ee30491933397 (diff) | |
parent | 13f74d018bb1a3c13909c86096194ba4f2c4ce8d (diff) | |
download | pandoc-b63dc2ca0aa75b9ff86eb54da6ed8fb0bc508e46.tar.gz |
Merge pull request #2569 from rgaiacs/add-highlighting-to-gap
Add highlighting support to GAP
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Highlighting.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs index 71927054f..d7a14c129 100644 --- a/src/Text/Pandoc/Highlighting.hs +++ b/src/Text/Pandoc/Highlighting.hs @@ -124,6 +124,7 @@ langsList = [("ada","Ada") ,("php","PHP") ,("xslt","XSLT") ,("html","HTML") + ,("gap","GAP") ] listingsLangs :: [String] @@ -138,7 +139,7 @@ listingsLangs = ["Ada","Java","Prolog","Algol","JVMIS","Promela", "Oberon-2","TeX","erlang","OCL","VBScript","Euphoria", "Octave","Verilog","Fortran","Oz","VHDL","GCL", "Pascal","VRML","Gnuplot","Perl","XML","Haskell", - "PHP","XSLT","HTML","PL/I"] + "PHP","XSLT","HTML","PL/I","GAP"] -- Determine listings language name from highlighting-kate language name. toListingsLanguage :: String -> Maybe String |