Vim-2html-config is a project mainly written in Vim Script, it's free.
vim :TOHtml command configuration file.
https://github.com/taku-o/vim-2html-config
標準でないHTML出力をを':TOhtml'コマンドで行う場合に、 設定ファイル'macros/2html-config.vim'を改変後、':source %'コマンドで読み込み、HTML出力の設定を変更します。