-" Convert the file to HTML
highlight Constant gui=NONE guifg=NONE guibg=NONE
highlight Special gui=NONE guibg=NONE
highlight Normal gui=NONE guifg=NONE guibg=NONE
highlight Error gui=NONE guifg=NONE guibg=NONE
-runtime syntax/2html.vim
+" Convert the file to HTML
+TOhtml
+" Remove headers
normal 1G
-1,/^<body /d
+1,/^<style/-1d
+
+/^<\/style>/+1
+normal 2dd
-normal Gk
-normal 2wlDjdd
+/^<\/body>
+normal 2dd
write
quitall