Fix superfluous code in edit.rb. Add more descriptive help sentence for CriticMarkup.

This commit is contained in:
Bart Kamphorst
2018-11-11 15:35:51 +01:00
parent 769f8ec8d6
commit 6d0b42b18f
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ MSG
"By default, uses the 'TeX-AMS-MML_HTMLorMML' config with the 'autoload-all' extension.") do "By default, uses the 'TeX-AMS-MML_HTMLorMML' config with the 'autoload-all' extension.") do
wiki_options[:mathjax] = true wiki_options[:mathjax] = true
end end
opts.on("--critic-markup", "Enable CriticMarkup support.") do opts.on("--critic-markup", "Enable support for annotations using CriticMarkup.") do
wiki_options[:critic_markup] = true wiki_options[:critic_markup] = true
end end
opts.on("--irb", "Launch Gollum in 'console mode', with a predefined API.") do opts.on("--irb", "Launch Gollum in 'console mode', with a predefined API.") do
-3
View File
@@ -60,9 +60,6 @@ module Precious
true true
end end
def critic_markup
@critic_markup
end
def allow_uploads def allow_uploads
@allow_uploads @allow_uploads