git.iko.soy/typeable/pandoc
on master help sign in
Added 'zenburn' highlight style from highlighting-kate.

Depend on h-k 0.5.0.6.

commitb2340cd8746253a4d4484bfc9eef0f2929a35e5e authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 17 May 2012, 18:54 (14 years ago) parent1f222b7
3 files changed+4−2
README+1−1 src/Text/Pandoc/Highlighting.hs+1 src/pandoc.hs+2−1
README+1−1
@@ -289,7 +289,7 @@ General writer options
289289`--highlight-style`=*STYLE*
290290: Specifies the coloring style to be used in highlighted source code.
291291 Options are `pygments` (the default), `kate`, `monochrome`,
292− `espresso`, `haddock`, and `tango`.
292+ `espresso`, `zenburn`, `haddock`, and `tango`.
293293
294294`-H` *FILE*, `--include-in-header=`*FILE*
295295: Include contents of *FILE*, verbatim, at the end of the header.
src/Text/Pandoc/Highlighting.hs+1
@@ -39,6 +39,7 @@ module Text.Pandoc.Highlighting ( languages
3939 , styleToCss
4040 , pygments
4141 , espresso
42+ , zenburn
4243 , tango
4344 , kate
4445 , monochrome
src/pandoc.hs+2−1
@@ -37,7 +37,7 @@ import Text.Pandoc.Shared ( tabFilter, ObfuscationMethod (..), readDataFile,
3737import Text.Pandoc.XML ( toEntities, fromEntities )
3838import Text.Pandoc.SelfContained ( makeSelfContained )
3939import Text.Pandoc.Highlighting ( languages, Style, tango, pygments,
40− espresso, kate, haddock, monochrome )
40+ espresso, zenburn, kate, haddock, monochrome )
4141import System.Environment ( getArgs, getProgName )
4242import System.Exit ( exitWith, ExitCode (..) )
4343import System.FilePath
@@ -349,6 +349,7 @@ options =
349349 "pygments" -> return pygments
350350 "tango" -> return tango
351351 "espresso" -> return espresso
352+ "zenburn" -> return zenburn
352353 "kate" -> return kate
353354 "monochrome" -> return monochrome
354355 "haddock" -> return haddock