From ace6257e172c4b8737c4bee2f032e99eae8d044a Mon Sep 17 00:00:00 2001 From: LK4D4 Date: Wed, 7 May 2014 20:38:14 +0400 Subject: [PATCH] Add pygmentsstyle and pygmentsuseclasses options Fixes #204 Conflicts: commands/hugo.go --- content/extras/highlighting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/extras/highlighting.md b/content/extras/highlighting.md index 534b973c4..0f82202bc 100644 --- a/content/extras/highlighting.md +++ b/content/extras/highlighting.md @@ -27,13 +27,13 @@ silently simply pass the content along unhighlighted. * **Warning** pygments is relatively slow and our integration isn't as optimized as it could be. Expect much longer build times when using server side highlighting. * Languages available depends on your pygments installation. - * While pygments supports a few different output formats and options we currently -only support output=html, style=monokai, noclasses=true, and encoding=utf-8. * Styles are inline in order to be supported in syndicated content when references to style sheets are not carried over. * We have sought to have the simplest interface possible, which consequently limits configuration. An ambitious user is encouraged to extend the current functionality to offer more customization. +* You can change appearance with config options `pygmentsstyle`(default +`"monokai"`) and `pygmentsuseclasses`(defaut `false`). ### Usage Highlight takes exactly one required parameter of language and requires a