开发者

Convert codes to HTML with CSS style

开发者 https://www.devze.com 2023-01-01 17:23 出处:网络
I normally use VIM to edit my codes and convert them to HTML by using TOhtml command. The only thing I don\'t like is that the converted HTML does not have css class style definitions. I am not sure i

I normally use VIM to edit my codes and convert them to HTML by using TOhtml command. The only thing I don't like is that the converted HTML does not have css class style definitions. I am not sure if there is tool to convert codes to HTML with css, or I can use additional tool or co开发者_StackOverflow社区mmand to convert HTML HTML with css?


Here I copy my comments as my answer:

Type the command:

let html_use_css=1

Then

:TOhtml 

it will create a html with css classes. For more information and other options for TOhtml command, you can get help by:

:help TOhtml
0

精彩评论

暂无评论...
验证码 换一张
取 消