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:
Post a Comment