SASS prints css comments in a new line by default. There doesn't exist a option as far as I know that allows comments to appended to the line.
So, the block
开发者_开发知识库body {
background-image: url(.....); /** comment */
color: white; /** comment */
}
is converted to
body {
background-image: url(.....);
/** comment */
color: white;
/** comment */
}
Is there a way to add custom formatting?
From what I have seen this isn't possible. The best example I could find is this post from 2008 by the (then) maintainer of Sass: http://groups.google.com/group/haml/browse_thread/thread/bf7cd23989c1170d
精彩评论