summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-05-17 18:54:41 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-05-17 18:54:41 -0700
commitb2340cd8746253a4d4484bfc9eef0f2929a35e5e (patch)
treee1df76131d40bb37c6e5441b2103e76c9fc7bac3 /src
parent1f222b78c8c45996f1b8e0157d99eb10d9a01de3 (diff)
Added 'zenburn' highlight style from highlighting-kate.
Depend on h-k 0.5.0.6.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Highlighting.hs1
-rw-r--r--src/pandoc.hs3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs
index 4fb799cf1..080acebee 100644
--- a/src/Text/Pandoc/Highlighting.hs
+++ b/src/Text/Pandoc/Highlighting.hs
@@ -39,6 +39,7 @@ module Text.Pandoc.Highlighting ( languages
, styleToCss
, pygments
, espresso
+ , zenburn
, tango
, kate
, monochrome
diff --git a/src/pandoc.hs b/src/pandoc.hs
index a25e7d8d6..11ea88ec2 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -37,7 +37,7 @@ import Text.Pandoc.Shared ( tabFilter, ObfuscationMethod (..), readDataFile,
import Text.Pandoc.XML ( toEntities, fromEntities )
import Text.Pandoc.SelfContained ( makeSelfContained )
import Text.Pandoc.Highlighting ( languages, Style, tango, pygments,
- espresso, kate, haddock, monochrome )
+ espresso, zenburn, kate, haddock, monochrome )
import System.Environment ( getArgs, getProgName )
import System.Exit ( exitWith, ExitCode (..) )
import System.FilePath
@@ -349,6 +349,7 @@ options =
"pygments" -> return pygments
"tango" -> return tango
"espresso" -> return espresso
+ "zenburn" -> return zenburn
"kate" -> return kate
"monochrome" -> return monochrome
"haddock" -> return haddock