Closed nayefc closed 10 years ago
We require the rouge
gem at ~> 1.0
, so updating your gems probably brought in a newer version of that gem... check the changelog here.
I suggest you reopen this over there, middleman-syntax
is mainly just a wrapper for rouge
.
Looking at the way rouge
handles line numbers I think it can be improved MASSIVELY, the current system even having been changed is not very good.
I will try to put together a PR to rewrite it soon! Maybe in time for my other PR to be merged, which I think is being ignored as Slim is taking priority - we can't update middleman-syntax
until those problems are addressed.
It was rouge being at 1.3. Downgrading to 1.0 fixes it. Thanks!
@nayefc Keep in mind this will change in future, for reasons mentioned in the changelog. (Wrapping
Hello,
For some reason, my syntax styling is broken. I think this happened once I upgraded to Ruby 2.0.
Here is a sample: http://nayefcopty.com/blog/styling-changes/
My config: