3 ms·
I've never had to do that (ever), but... Vim: :TOhtml Notepad++: Plugins > NppExport > Export to HTML
by brianto2010 17y ago
I've never had to do that (ever), but...
Vim:
:TOhtml
Notepad++:
Plugins > NppExport > Export to HTML
- NathanKP 17y agoDoes that actually add markup to colorize the code or does it just wrap it in <pre> tags?
- brianto2010 17y agoQuick answer: no. It generates the actual HTML based on your current color scheme and font. Notepad++ is the same (I think). Long answer: Check this link: http://code.google.com/p/vimcolorschemetest/ http://code.google.com/p/vimcolorschemetest/ At the bottom, click on one of the provided languages. This will give you a preview of what the command actually outputs. The page itself states, "To generated these pages, I used the TOhtml command in the Vim 7.2 distribution to generate the html files inside the iframes". Just note, the font won't be as disgusting when you actually do the conversion.
- NathanKP 17y agoThanks a lot!