Add commandline option for disabling livepreview
This commit is contained in:
@@ -57,6 +57,10 @@ opts = OptionParser.new do |opts|
|
|||||||
wiki_options[:ref] = ref
|
wiki_options[:ref] = ref
|
||||||
end
|
end
|
||||||
|
|
||||||
|
opts.on("--no-live-preview", "Disables livepreview.") do
|
||||||
|
wiki_options[:live_preview] = false
|
||||||
|
end
|
||||||
|
|
||||||
opts.on("--no-mathjax", "Disables mathjax.") do
|
opts.on("--no-mathjax", "Disables mathjax.") do
|
||||||
options['mathjax'] = false
|
options['mathjax'] = false
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user