TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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 年前
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 年前
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>