diff --git a/bin/gollum b/bin/gollum index f4ef13fb..edf4215e 100755 --- a/bin/gollum +++ b/bin/gollum @@ -65,8 +65,8 @@ opts = OptionParser.new do |opts| wiki_options[:live_preview] = false end - opts.on("--no-mathjax", "Disables mathjax.") do - options['mathjax'] = false + opts.on("--mathjax", "Enables mathjax.") do + options['mathjax'] = true end end diff --git a/lib/gollum/wiki.rb b/lib/gollum/wiki.rb index 70337a0d..e803a297 100644 --- a/lib/gollum/wiki.rb +++ b/lib/gollum/wiki.rb @@ -179,7 +179,7 @@ module Gollum self.class.history_sanitization @live_preview = options.fetch(:live_preview, true) @universal_toc = options.fetch(:universal_toc, false) - @mathjax = options[:mathjax] || true + @mathjax = options[:mathjax] || false end # Public: check whether the wiki's git repo exists on the filesystem.