We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 395895b + d61f268 commit befa83aCopy full SHA for befa83a
lib/jekyll-commonmark.rb
@@ -7,9 +7,9 @@ class Markdown::CommonMark
7
def initialize(config)
8
Jekyll::External.require_with_graceful_fail "commonmarker"
9
begin
10
- @options = config['commonmark']['options'].collect { |e| e.to_sym }
+ @options = config['commonmark']['options'].collect { |e| e.upcase.to_sym }
11
rescue NoMethodError
12
- @options = [:default]
+ @options = [:DEFAULT]
13
else
14
@options.reject! do |e|
15
unless CommonMarker::Config::Parse.keys.include? e.to_sym
0 commit comments