diff --git a/Gemfile b/Gemfile index 72dc595..5e2ea50 100644 --- a/Gemfile +++ b/Gemfile @@ -4,8 +4,7 @@ source 'https://rubygems.org' gem 'nanoc', '4.12' gem 'erubis', '2.7.0' -gem 'kramdown', '2.4.0' -gem 'kramdown-parser-gfm', '1.1.0' +gem 'redcarpet' gem 'json' group :development do diff --git a/Gemfile.lock b/Gemfile.lock index dfa97e5..0747f94 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,9 +18,8 @@ GEM erubis (2.7.0) hamster (3.0.0) concurrent-ruby (~> 1.0) + json (2.7.1) json_schema (0.21.0) - kramdown (2.4.0) - rexml nanoc (4.12.0) addressable (~> 2.5) colored (~> 1.2) @@ -62,8 +61,8 @@ GEM rackup (2.1.0) rack (>= 3) webrick (~> 1.8) + redcarpet (3.6.0) ref (2.0.0) - rexml (3.2.6) slow_enumerator_tools (1.1.0) tomlrb (1.3.0) tty-color (0.6.0) @@ -80,8 +79,9 @@ PLATFORMS DEPENDENCIES adsf (= 1.4.8) erubis (= 2.7.0) - kramdown (= 2.4.0) + json nanoc (= 4.12) + redcarpet BUNDLED WITH 2.4.22 diff --git a/Rules b/Rules index 7c87a68..390cb30 100644 --- a/Rules +++ b/Rules @@ -18,7 +18,8 @@ compile '/**/*.html' do end compile '/questions/**/*.md' do - filter :kramdown, input: "GFM" + #filter :kramdown, input: "GFM" + filter :redcarpet layout '/default.*' write item.identifier.without_ext + '/index.html'