[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: additional functionality for html-helper-mode
From: |
Yuri Khan |
Subject: |
Re: additional functionality for html-helper-mode |
Date: |
Wed, 24 May 2017 11:46:32 +0700 |
On Wed, May 24, 2017 at 5:13 AM, Jean-Christophe Helary
<jean.christophe.helary@gmail.com> wrote:
>> However, it doesn't seem to understand html, i.e., only affects CSS
>> definitions enclosed within curly braces, { and }.
>
> Ok, a quick search with "html, folding, emacs) brought these:
Keep in mind that with regard to HTML there are two possible
interpretations of folding.
* One is folding the contents between two paired tags: <p>{{…}}</p>.
* Another is folding the contents after a heading up to (but not
including) the next heading of that or higher level on the same level
of element nesting: <h2>Foo</h2>{{…}}<h1>Bar</h1>.
The first is what a typical general-purpose folding library is going
to implement. The second can arguably be called “understanding HTML”,
and is what Ken is asking for.
(And no, I don’t have any experience with HTML folding in Emacs.)
Re: additional functionality for html-helper-mode, Emanuel Berg, 2017/05/22
- Re: additional functionality for html-helper-mode, ken, 2017/05/23
- Re: additional functionality for html-helper-mode, Emanuel Berg, 2017/05/24
- Re: additional functionality for html-helper-mode, ken, 2017/05/25
- Re: additional functionality for html-helper-mode, Yuri Khan, 2017/05/26
- Re: additional functionality for html-helper-mode, Emanuel Berg, 2017/05/26
- Re: additional functionality for html-helper-mode, Yuri Khan, 2017/05/26