>
> On Mon, Dec 15, 2008 at 11:09, Ben Schmidt wrote:
>>> I believe it would require javascript in the HTML; and I don't think
>>> it's work the trouble. Now if someone wants to tackle it, why not?
>>
>> Yes. The Javascript/HTML side of it is quite easy as long as the desired
>> behaviour can be clearly specified (this is not easy given nested folds,
>> etc.). The Vim side of it may not be so: I'm not sure if Vimscript can
>> reliably discover all it needs to know about folds to produce such
>> output. But maybe... I'll add it to my 'to do' list, which means I might
>> get to it eventually, but I might not, but it's something that does
>> vaguely interest me.
>
> Here's an easy way to do it with very little Javascript:
>
> http://www.silent-blade.org/misc/toggle.html
>
> This can be more complicated with nested folds, but not necessarily that much.

I think nested folds supporting is a killer feature. When it completes, I
don't need any other formating tools to take my code or document presentation,
a html version is enough.


-- 
Regards,
anhnmncb


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to