Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make pygments optional on the command line

  • Loading branch information...
commit 3682fab48b1966415737fba428a7f07268624383 1 parent 7d5fce4
@mixonic authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 bin/spinto-site
View
5 bin/spinto-site
@@ -44,6 +44,10 @@ opts = OptionParser.new do |opts|
options['url'] = url
end
+ opts.on("--[no-]pygments", "Use pygments to highlight code (true at Spinto)") do |pygments|
+ options['pygments'] = pygments
+ end
+
opts.on("--version", "Display current version") do
puts "Spinto " + Spinto::VERSION
exit 0
@@ -69,7 +73,6 @@ end
options['safe'] = false
options['plugins'] = Spinto::PLUGINS_PATH
-options['pygments'] = true
options = Jekyll.configuration(options)
Please sign in to comment.
Something went wrong with that request. Please try again.