That's an interesting suggestion. One issue is that it seems to imply
an ending "*/" that won't exist. Maybe we could just extend "//" to
have similar functionality to what you were suggesting, and have it
output to the CSS document... maybe add a Haml-like "/" command as
well to have non-outputting comments.

Hampton, I'm curious what you think about this.

- Nathan

On Feb 20, 11:54 am, "Larry Kelly" <[EMAIL PROTECTED]> wrote:
> what about the standard  C-style comment
>
> /* this is comment
>    second line of comment
>    end of comment.
> .catalog_listing
>   table
>     :font-size 14 px
>   /* Nested Table Header comment
>      On several lines
>      end of table header comment.
>   thead
>     th
>   tbody
>     tr
>     td
> . . .
>
> This would output:
>
> /* this is comment
>    second line of comment
>    end of comment. */
> .catalog_listing table {
>   :font-size 14px }
>
>   /* Nested Table Header comment
>      On several lines
>      end of table header comment.  */
>   .catalog_listing thead {
>                         }
>
> -Larry
>
> On 2/20/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > We currently use "//" as a one-line comment, but it doesn't get output
> > to the CSS document. Ideally, there would be some way to designate
> > comments that should be output. Additionally, "//" only works at the
> > beginning of a line, because otherwise it would conflict with URLs that
> > may appear in the document. All in all, it's not terribly satisfactory.
>
> > - Nathan
>
> > Larry Kelly wrote:
> > > Before, I answer, what does SASS use for a  1-line comment?
> > > -Larry
>
> --
> Best Regards,
> -Larry
> "Work, work, work...there is no satisfactory alternative."
>             --- E.Taft Benson


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to