New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump kramdown to 1.14.0 for rouge 2 support #6183
Conversation
jekyll.gemspec
Outdated
@@ -34,7 +34,7 @@ Gem::Specification.new do |s| | |||
s.add_runtime_dependency("colorator", "~> 1.0") | |||
s.add_runtime_dependency("jekyll-sass-converter", "~> 1.0") | |||
s.add_runtime_dependency("jekyll-watch", "~> 1.1") | |||
s.add_runtime_dependency("kramdown", "~> 1.3") | |||
s.add_runtime_dependency("kramdown", "~> 1.14", ">= 1.14.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure if we should still allow versions < 1.14 when using rouge 1 but it would make things quite complicated and a bump should still work with rouge 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~> 1.14
is the same as >= 1.14.0, < 2.0
.
/cc: @jekyll/ecosystem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to the gemspec & Gemfile are requested but otherwise LGTM! 👍
So kramdown 1.14 is the first version to support Rouge 2?
Gemfile
Outdated
@@ -70,7 +70,7 @@ group :jekyll_optional_dependencies do | |||
gem "jekyll-gist" | |||
gem "jekyll-paginate" | |||
gem "jekyll-redirect-from" | |||
gem "kramdown", "~> 1.9" | |||
gem "kramdown", "~> 1.14", ">= 1.14.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary – ~> 1.14
is sufficient. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I always mix up these things :(
jekyll.gemspec
Outdated
@@ -34,7 +34,7 @@ Gem::Specification.new do |s| | |||
s.add_runtime_dependency("colorator", "~> 1.0") | |||
s.add_runtime_dependency("jekyll-sass-converter", "~> 1.0") | |||
s.add_runtime_dependency("jekyll-watch", "~> 1.1") | |||
s.add_runtime_dependency("kramdown", "~> 1.3") | |||
s.add_runtime_dependency("kramdown", "~> 1.14", ">= 1.14.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~> 1.14
is the same as >= 1.14.0, < 2.0
.
3c7547a
to
17d7637
Compare
Yes, it seemed to work fine at first but e.g. |
see https://kramdown.gettalong.org/news.html
cc: @parkr