SYN2HTML : Syntax to HTML converter (Python)
script karma |
Rating 8/4,
Downloaded by 1099 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Stephen Thorne |
|
script type |
utility |
|
description |
Yet Another Version of the 2html.vim script found in the $VIMRUNTIME/syntax directory.
This version is written in python, making it far easier to do things like change the format of HTML created by the script (i.e. putting it in <div> tags instead of <html> tags).
To use this script, your vim must be compiled with +python. |
|
install details |
Put the script in:
$HOME/.vim/plugin/syn2html.vim
(or your plugin directory on windows)
Type
:python createHTML()
in the buffer you want rendered to HTML, and a new pane will appear containing the source rendered as HTML. It will be given a .html extension (i.e. foo.c will become foo.c.html). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|