Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Thomas <github@bigredgiraffe.com>2015-12-07 20:00:28 +0300
committerSteve Francia <steve.francia@gmail.com>2016-01-04 19:52:40 +0300
commit26d23f7f4becb2bbfa80d91ae9b27ffc76e13e3a (patch)
tree88d62699d3c22882cad7b27d134f4e8dad2e1f74 /helpers
parente904ccffb62583a2d4f108879788c9a37a6faf72 (diff)
added remaining relevant options
Diffstat (limited to 'helpers')
-rw-r--r--helpers/pygments.go22
1 files changed, 16 insertions, 6 deletions
diff --git a/helpers/pygments.go b/helpers/pygments.go
index b0e11cb75..b6a325000 100644
--- a/helpers/pygments.go
+++ b/helpers/pygments.go
@@ -133,17 +133,27 @@ func Highlight(code, lang, optsStr string) string {
var pygmentsKeywords = make(map[string]bool)
func init() {
- pygmentsKeywords["style"] = true
pygmentsKeywords["encoding"] = true
+ pygmentsKeywords["outencoding"] = true
+ pygmentsKeywords["nowrap"] = true
+ pygmentsKeywords["full"] = true
+ pygmentsKeywords["title"] = true
+ pygmentsKeywords["style"] = true
pygmentsKeywords["noclasses"] = true
- pygmentsKeywords["hl_lines"] = true
- pygmentsKeywords["linenos"] = true
pygmentsKeywords["classprefix"] = true
- pygmentsKeywords["startinline"] = true
- pygmentsKeywords["title"] = true
- pygmentsKeywords["anchorlinenos"] = true
+ pygmentsKeywords["cssclass"] = true
+ pygmentsKeywords["cssstyles"] = true
+ pygmentsKeywords["prestyles"] = true
+ pygmentsKeywords["linenos"] = true
+ pygmentsKeywords["hl_lines"] = true
+ pygmentsKeywords["linenostart"] = true
+ pygmentsKeywords["linenostep"] = true
+ pygmentsKeywords["linenospecial"] = true
+ pygmentsKeywords["nobackground"] = true
+ pygmentsKeywords["lineseparator"] = true
pygmentsKeywords["lineanchors"] = true
pygmentsKeywords["linespans"] = true
+ pygmentsKeywords["anchorlinenos"] = true
}
func parseOptions(options map[string]string, in string) error {