Skip to content

Commit

Permalink
Added 'zenburn' highlight style from highlighting-kate.
Browse files Browse the repository at this point in the history
Depend on h-k 0.5.0.6.
  • Loading branch information
John MacFarlane committed May 18, 2012
1 parent 1f222b7 commit b2340cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ General writer options
`--highlight-style`=*STYLE*
: Specifies the coloring style to be used in highlighted source code.
Options are `pygments` (the default), `kate`, `monochrome`,
`espresso`, `haddock`, and `tango`.
`espresso`, `zenburn`, `haddock`, and `tango`.

`-H` *FILE*, `--include-in-header=`*FILE*
: Include contents of *FILE*, verbatim, at the end of the header.
Expand Down
1 change: 1 addition & 0 deletions src/Text/Pandoc/Highlighting.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module Text.Pandoc.Highlighting ( languages
, styleToCss
, pygments
, espresso
, zenburn
, tango
, kate
, monochrome
Expand Down
3 changes: 2 additions & 1 deletion src/pandoc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b2340cd

Please sign in to comment.