How can I enable line numbers in CSS output if I am using SASS? I found an article but I didn't quite understand where to make the modifications
http://pivotallabs.com/users/damon/blog/articles/765-standup-04-07-2009-we-have-questions#comments
Could you help me?
There's an option called :line_comments if you set this to true, Sass will place line numbers in your compiled output.
How to set this option depends on how you're using Sass. If it's in a Rails, Merb, or Rack application you can set Sass::Plugin.options[:line_comments] = true.
If you're using compass, set line_comments = false in your configuration file.
If you happen to be using Sprockets and the sprockets-sass gem, you may need to do it like this:
Sprockets::Sass.options[:line_comments] = true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With