middleman / middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
https://middlemanapp.com
MIT License
179 stars 57 forks source link

since upgrading to latest commit, line numbers no longer align with code #35

Closed adamwong246 closed 10 years ago

adamwong246 commented 10 years ago

To take advantage of the fix for slim, my code doesn't line up with the line number anymore. screen shot 2014-01-10 at 8 44 42 am

adamwong246 commented 10 years ago

The fix:

pre.lineno{
  margin: 0px;
}
bhollis commented 10 years ago

That seems like it's just a problem with your CSS, rather than the output of Rouge. If you've found a bug in Rouge you can file an issue in jayferd/rouge.