condensing code slightly
This commit is contained in:
parent
28ca5d71ee
commit
afe9387578
|
@ -10,9 +10,7 @@ module Jekyll
|
||||||
load_blahtext_library if @config['maruku']['use_tex']
|
load_blahtext_library if @config['maruku']['use_tex']
|
||||||
|
|
||||||
# allow fenced code blocks (new in Maruku 0.7.0)
|
# allow fenced code blocks (new in Maruku 0.7.0)
|
||||||
if @config['maruku']['fenced_code_blocks']
|
MaRuKu::Globals[:fenced_code_blocks] = !!@config['maruku']['fenced_code_blocks']
|
||||||
MaRuKu::Globals[:fenced_code_blocks] = true
|
|
||||||
end
|
|
||||||
|
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
STDERR.puts 'You are missing a library required for Markdown. Please run:'
|
STDERR.puts 'You are missing a library required for Markdown. Please run:'
|
||||||
|
|
Loading…
Reference in New Issue