added more pygments opts - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit e904ccffb62583a2d4f108879788c9a37a6faf72
(DIR) parent 9008ac0b55bc0f507e730e8b3d49fa8103e600e1
(HTM) Author: Ben Thomas <github@bigredgiraffe.com>
Date: Thu, 3 Dec 2015 17:17:48 -0700
added more pygments opts
Diffstat:
M helpers/pygments.go | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/helpers/pygments.go b/helpers/pygments.go
@@ -140,6 +140,10 @@ func init() {
pygmentsKeywords["linenos"] = true
pygmentsKeywords["classprefix"] = true
pygmentsKeywords["startinline"] = true
+ pygmentsKeywords["title"] = true
+ pygmentsKeywords["anchorlinenos"] = true
+ pygmentsKeywords["lineanchors"] = true
+ pygmentsKeywords["linespans"] = true
}
func parseOptions(options map[string]string, in string) error {