bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.14k stars 114 forks source link

Relax the Rouge version requirement #864

Closed matiaskorhonen closed 6 months ago

matiaskorhonen commented 6 months ago

This is a 🐛 bug fix.

Summary

Relax the Rouge version requirement from ~> 3.0 to >= 3.0, < 5.0 to allow Rouge 4.x to be used. Rouge 3.x can still be used if required.

Rouge changelog: https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md

There shouldn't be any breaking changes aside from a single lexer that has been removed and support for Ruby 2.6 and below has been dropped. On the upside there are new lexers and CSS themes.

Context

No related issues.

jaredcwhite commented 6 months ago

@matiaskorhonen Sounds good!