From b2340cd8746253a4d4484bfc9eef0f2929a35e5e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 17 May 2012 18:54:41 -0700 Subject: Added 'zenburn' highlight style from highlighting-kate. Depend on h-k 0.5.0.6. --- src/Text/Pandoc/Highlighting.hs | 1 + src/pandoc.hs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3