Rouge's Redcarpet plugin now has a different API
See for more:
- 18ec938e9c
- https://github.com/jneen/rouge/issues/182
This commit is contained in:
parent
633c9be95c
commit
e6f89074d4
|
@ -48,8 +48,8 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
def rouge_formatter(opts = {})
|
def rouge_formatter(lexer)
|
||||||
Rouge::Formatters::HTML.new(opts.merge(wrap: false))
|
Rouge::Formatters::HTML.new(:wrap => false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue