Skip to content

Commit bc487a3

Browse files
authored
Merge branch 'master' into dockerize
2 parents f4a8d87 + ff5f482 commit bc487a3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/github-pages/configuration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ def effective_config(user_config)
119119
config
120120
end
121121

122-
# Ensure we're using Kramdown or CommonMarkGhPages. Force to Kramdown if
122+
# Ensure we're using Kramdown or GFM. Force to Kramdown if
123123
# neither of these.
124124
def restrict_markdown_processor(config)
125125
config["markdown"] = "kramdown" unless \
126-
%w(kramdown commonmarkghpages).include?(config["markdown"].to_s.downcase)
126+
%w(kramdown gfm).include?(config["markdown"].to_s.downcase)
127127
end
128128

129129
# Set the site's configuration. Implemented as an `after_reset` hook.

spec/github-pages/configuration_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@
6565
end
6666
end
6767

68-
context "with CommonMarkGhPages set" do
68+
context "with GFM set" do
6969
let(:site) do
70-
config = configuration.merge("markdown" => "CommonMarkGhPages")
70+
config = configuration.merge("markdown" => "GFM")
7171
Jekyll::Site.new(config)
7272
end
7373

7474
it "keeps the setting" do
75-
expect(effective_config["markdown"]).to eql("CommonMarkGhPages")
75+
expect(effective_config["markdown"]).to eql("GFM")
7676
end
7777
end
7878

0 commit comments

Comments
 (0)