Rails Diffy Gem: how to use CSS

I am using diffy ( click for github ). This is awesome, but I can't figure out how to add colors using css. The readme mentions that this is possible, but I'm not sure how to use their css.

I am sure this is possible, as this guy is talking about it .

Has anyone worked with diffy for colors before?

+5
source share
1 answer

in your opinion, put:

<style>
  <%= Diffy::CSS %>
</style>

Then you can copy

+8
source

All Articles