Wednesday, March 30, 2011

Source code to HTML

Hello, I'm trying to produce highlighted html from console.

After a bit of googling I came across this solution:

cat MyFile.input | vim - +TOhtml '+w out.html' '+qall!'

However, resulting html is not highlighted, but in Vim and Cream highlighting works.

I've never used vim before, but it is the only editor supporting syntax highlighting for the language I need (maybe there is something for emacs, but not sure).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: