On 14 July 2010 00:27, Tha.Suresh <[email protected]> wrote:

>  Convert Code To HTML Using Vim
>
> If you wrote some elegant code, and want to publish it as a HTML page,
> you can easily do that in vim:
> In command mode, type this:
>
>    :TOhtml
>
> A new buffer will be opened with the HTML source, just save it:
>
>    :wq
>
> If the original file name was “thasucode.c”, you’ll find a new file in
> the same directory named “thasu.c.html”. Open it with your favorite
> web browser.
>


1. Thanks! I installed vim to try this out. Excellent tip.

2. The markup is all ugly with dozens of &nbsp

Ma Sivakumar
எல்லோரும் எல்லாமும் பெற வேண்டும்
http://masivakumar.blogspot.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to