Sebastian Menge <[EMAIL PROTECTED]>:
> Am Thu, 16 Aug 2007 10:37:25 +0200 schrieb Olivier Teuliere:
>
> > On 8/15/07, John Beckett
> > <[EMAIL PROTECTED]> wrote:
> >> GetOriginalIndent() is pretty magic...
> >
> > Yes... but unfortunately there is a fair amount of tips where the
> > original indentation itself is quite bad :)

Can't we just use vim to reindent vim code-snippets ? (supposing we can detect
them)

> That's the reason, why automatic processing of these was hard to do at
> import time.
>
> Isnt there a feature in vim to export syntax-higlighted code to html?
> Could we use that for code snippets?

Yes there is. :h :TOhtml
Note: I'm maintaining a fork of a perl script that converts files into html
thanks to vim (it has some other features like supporting URL, ...)
-> http://hermitte.free.fr/vim/ressources/tools/ VimDetect.pm and vim2html3.pl


HTH,
-- 
Luc Hermitte
_______________________________________________
Vim-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/vim-l

Reply via email to