File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,11 @@ def effective_config(user_config)
119
119
config
120
120
end
121
121
122
- # Ensure we're using Kramdown or CommonMarkGhPages . Force to Kramdown if
122
+ # Ensure we're using Kramdown or GFM . Force to Kramdown if
123
123
# neither of these.
124
124
def restrict_markdown_processor ( config )
125
125
config [ "markdown" ] = "kramdown" unless \
126
- %w( kramdown commonmarkghpages ) . include? ( config [ "markdown" ] . to_s . downcase )
126
+ %w( kramdown gfm ) . include? ( config [ "markdown" ] . to_s . downcase )
127
127
end
128
128
129
129
# Set the site's configuration. Implemented as an `after_reset` hook.
Original file line number Diff line number Diff line change 65
65
end
66
66
end
67
67
68
- context "with CommonMarkGhPages set" do
68
+ context "with GFM set" do
69
69
let ( :site ) do
70
- config = configuration . merge ( "markdown" => "CommonMarkGhPages " )
70
+ config = configuration . merge ( "markdown" => "GFM " )
71
71
Jekyll ::Site . new ( config )
72
72
end
73
73
74
74
it "keeps the setting" do
75
- expect ( effective_config [ "markdown" ] ) . to eql ( "CommonMarkGhPages " )
75
+ expect ( effective_config [ "markdown" ] ) . to eql ( "GFM " )
76
76
end
77
77
end
78
78
You can’t perform that action at this time.
0 commit comments