vim provide a function to covert current code view to a html page.
- open your code file with gvim
- execute :set syntax=c for example to assign the highlight scheme.
- execute “Convert to HTML” in “Syntax” menu.
- save the generated html page.
vim确实是个强劲的编辑器,我在unix下面都用它,vim也有windows的版本。

本文介绍如何利用Vim强大的编辑功能将当前代码视图转换成HTML页面。通过设置高亮方案并使用菜单中的Convert to HTML功能,可以轻松地完成代码到网页的转换。
1万+

被折叠的 条评论
为什么被折叠?



