That's wonderful!
-Larry

On 3/17/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
>
> Single-line outputting comments have just been added to trunk, using the
> "/*" syntax. Multiline comments, both outputting and not, will probably
> be coming soon. However, they won't have exactly the same syntax as
> proposed by Larry, because we want to keep all indentation at two
> spaces, and that would make it three. The syntax will be similar, though:
>
> /*
>   This is a
>   multiline
>   comment.
>
> The output style for the expanded and nested styles will likely be:
>
> /*
> * This is a
> * multiline
> * comment. */
>
> For compact style, we'll probably just strip away the newlines. That is,
> unless anyone has a better suggestion - this is still very much up in
> the air.
>
> Unfortunately, Fortran-style comments won't make it in, as they'd
> conflict with a "C" element, were one ever added to XHTML.
>
> - Nathan
>
> bradx3 wrote:
> > Haha is the for real? I just *have* to learn Fortran now.
> >
> > On Feb 22, 1:42 am, "kleinman" <[EMAIL PROTECTED]> wrote:
> >
> >> How about we go with the character 'C' in column 1 - the Fortran
> >> way...
> >> But that is not multi-line.
> >>
> >> Just kidding...
> >>
> >> L8er - Martin
> >>
> >> On Feb 20, 5:18 pm, "Nex3" <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>> 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
> >>>>
> >
> >
> > >
> >
> >
>
>
> >
>


-- 
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