git.iko.soy/typeable/pandoc
on master help sign in
Added 'zenburn' highlight style from highlighting-kate.
b2340cdJohn MacFarlane
README+1−1
@@ -289,7 +289,7 @@ General writer options
289`--highlight-style`=*STYLE*
289`--highlight-style`=*STYLE*
290: Specifies the coloring style to be used in highlighted source code.
290: Specifies the coloring style to be used in highlighted source code.
291 Options are `pygments` (the default), `kate`, `monochrome`,
291 Options are `pygments` (the default), `kate`, `monochrome`,
292− `espresso`, `haddock`, and `tango`.
292+ `espresso`, `zenburn`, `haddock`, and `tango`.
293
293
294`-H` *FILE*, `--include-in-header=`*FILE*
294`-H` *FILE*, `--include-in-header=`*FILE*
295: Include contents of *FILE*, verbatim, at the end of the header.
295: 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
39 , styleToCss
39 , styleToCss
40 , pygments
40 , pygments
41 , espresso
41 , espresso
42+ , zenburn
42 , tango
43 , tango
43 , kate
44 , kate
44 , monochrome
45 , monochrome
src/pandoc.hs+2−1
@@ -37,7 +37,7 @@ import Text.Pandoc.Shared ( tabFilter, ObfuscationMethod (..), readDataFile,
37import Text.Pandoc.XML ( toEntities, fromEntities )
37import Text.Pandoc.XML ( toEntities, fromEntities )
38import Text.Pandoc.SelfContained ( makeSelfContained )
38import Text.Pandoc.SelfContained ( makeSelfContained )
39import Text.Pandoc.Highlighting ( languages, Style, tango, pygments,
39import Text.Pandoc.Highlighting ( languages, Style, tango, pygments,
40− espresso, kate, haddock, monochrome )
40+ espresso, zenburn, kate, haddock, monochrome )
41import System.Environment ( getArgs, getProgName )
41import System.Environment ( getArgs, getProgName )
42import System.Exit ( exitWith, ExitCode (..) )
42import System.Exit ( exitWith, ExitCode (..) )
43import System.FilePath
43import System.FilePath
@@ -349,6 +349,7 @@ options =
349 "pygments" -> return pygments
349 "pygments" -> return pygments
350 "tango" -> return tango
350 "tango" -> return tango
351 "espresso" -> return espresso
351 "espresso" -> return espresso
352+ "zenburn" -> return zenburn
352 "kate" -> return kate
353 "kate" -> return kate
353 "monochrome" -> return monochrome
354 "monochrome" -> return monochrome
354 "haddock" -> return haddock
355 "haddock" -> return haddock