Document interpolation in comments.

Closes #1467
This commit is contained in:
Nathan Weizenbaum
2014-10-16 17:49:26 -07:00
parent 7ac96693f1
commit 949c8ef4f7

View File

@@ -578,8 +578,20 @@ is compiled to:
a {
color: green; }
When the first letter of a comment is `!`, the comment will be interpolated
and always rendered into css output even in compressed output modes. This is useful for adding Copyright notices to your generated CSS.
When the first letter of a multiline comment is `!`, the comment will
always rendered into css output even in compressed output modes. This
is useful for adding Copyright notices to your generated CSS.
Since multiline comments become part of the resulting CSS,
interpolation within them is resolved. For example:
$version: "1.2.3";
/* This CSS is generated by My Snazzy Framework version #{$version}. */
is compiled to:
$version: "1.2.3";
/* This CSS is generated by My Snazzy Framework version 1.2.3. */
## SassScript {#sassscript}