TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Save Vim syntax highlighting to HTML
19 点
作者
r11t
超过 16 年前
5 条评论
jmah
超过 16 年前
The standard shortcut for this is :TOhtml (although I always screw it up and type :toHTML). Of course, you can ":help TOhtml" to get more info.
13ren
超过 16 年前
vim can do anything you can imagine, better than you imagined. If only you knew the command...<p>One for me was word completion to match other words in the file (^n, where ^ is control), but based on filenames (^x^f^n).
nfg
超过 16 年前
Collapse
For emacs see htmlfontify.el ( <a href="http://www.emacswiki.org/emacs/HtmlFontify" rel="nofollow">http://www.emacswiki.org/emacs/HtmlFontify</a> ).
评论 #384581 未加载
Hovertruck
超过 16 年前
Collapse
Now if only I could bring myself to put font tags anywhere near a page. :\
评论 #384393 未加载
mapleoin
超过 16 年前
now someone should write a blogpost comparing that to using <a href="http://pygments.org/" rel="nofollow">http://pygments.org/</a>