Added 'zenburn' highlight style from highlighting-kate.
Depend on h-k 0.5.0.6.
This commit is contained in:
parent
1f222b78c8
commit
b2340cd874
3 changed files with 4 additions and 2 deletions
2
README
2
README
|
@ -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.
|
||||
|
|
|
@ -39,6 +39,7 @@ module Text.Pandoc.Highlighting ( languages
|
|||
, styleToCss
|
||||
, pygments
|
||||
, espresso
|
||||
, zenburn
|
||||
, tango
|
||||
, kate
|
||||
, monochrome
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue