HTML comment before and after a block
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Date: Tue, 27 Oct 2009 16:32:22 -0700 (PDT)
Local: Tues, Oct 27 2009 7:32 pm
Subject: HTML comment before and after a block
Hi all,
In haml:
/ Header
#header
...
renders in html:
<!-- Header -->
<div id='header'>
...
</div>
I wonder if it's possible to automatically add a closing comment to
the block, in this way:
<!-- Header -->
<div id='header'>
...
</div>
<!-- End of Header -->
Maybe a feature request...
It could be:
// Header
#header
...
or
/ Header
#header
...
/
Any idea?
Read you,
Jej
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Nathan Weizenbaum <nex... @gmail.com>
Date: Tue, 27 Oct 2009 20:16:30 -0700
Local: Tues, Oct 27 2009 11:16 pm
Subject: Re: [haml] HTML comment before and after a block
There's no such feature, nor is there likely to be in core. It would make a
fine plugin, though.
On Tue, Oct 27, 2009 at 4:32 PM, Jej <j
... @free.fr> wrote:
> Hi all,
> In haml:
> / Header
> #header
> ...
> renders in html:
> <!-- Header -->
> <div id='header'>
> ...
> </div>
> I wonder if it's possible to automatically add a closing comment to
> the block, in this way:
> <!-- Header -->
> <div id='header'>
> ...
> </div>
> <!-- End of Header -->
> Maybe a feature request...
> It could be:
> // Header
> #header
> ...
> or
> / Header
> #header
> ...
> /
> Any idea?
> Read you,
> Jej
You must
Sign in before you can post messages.
You do not have the permission required to post.
Date: Wed, 28 Oct 2009 02:50:32 -0700 (PDT)
Local: Wed, Oct 28 2009 5:50 am
Subject: Re: HTML comment before and after a block
Is there some doc about extending haml, a howto ? Cannot find sharp
information.
Jej
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Nathan Weizenbaum <nex... @gmail.com>
Date: Wed, 28 Oct 2009 13:06:26 -0700
Local: Wed, Oct 28 2009 4:06 pm
Subject: Re: [haml] Re: HTML comment before and after a block
There isn't any concrete plugin/extension interface. You'll have to do some
monkeypatching of the Haml::Precompiler code, which you'll need to read (or
at least skim) in order to get a good understanding.
On Wed, Oct 28, 2009 at 2:50 AM, Jej <j
... @free.fr> wrote:
> Is there some doc about extending haml, a howto ? Cannot find sharp
> information.
> Jej
You must
Sign in before you can post messages.
You do not have the permission required to post.
Date: Thu, 29 Oct 2009 01:59:28 -0700 (PDT)
Local: Thurs, Oct 29 2009 4:59 am
Subject: Re: HTML comment before and after a block
Ok, thanks.
I will have a glipse on the code, but I think I will leave the task
for someone interested in this feature :)
Jej
On 28 oct, 21:06, Nathan Weizenbaum <nex... @gmail.com> wrote:
> There isn't any concrete plugin/extension interface. You'll have to do some
> monkeypatching of the Haml::Precompiler code, which you'll need to read (or
> at least skim) in order to get a good understanding.
> On Wed, Oct 28, 2009 at 2:50 AM, Jej <j... @free.fr> wrote:
> > Is there some doc about extending haml, a howto ? Cannot find sharp
> > information.
> > Jej
You must
Sign in before you can post messages.
You do not have the permission required to post.