Skip to content

Commit

Permalink
added remaining relevant options
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Thomas authored and spf13 committed Jan 4, 2016
1 parent e904ccf commit 26d23f7
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions helpers/pygments.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 26d23f7

Please sign in to comment.