Reputation: 1643
I am writing a documentation page on my site, and there is some parts of code on the page, so I would like to use the same color scheme I use on my vim to this parts (in the case, Bad Wolf). I found this site http://highlightjs.org/ but they don't have this specific color scheme (Bad Wolf). Is there any way to use this color scheme as CSS? or convert the .mvim file to css?
Thanks in advance
Upvotes: 0
Views: 495
Reputation: 41
or convert the .mvim file to css?
To convert Vim color schemes, you can use this plugin ColorScheme2CSS
Install it and type the command in Vim :TOcss
Upvotes: 0
Reputation: 195079
this may not a clean solution for you, but you may give it a try.
vim has :TOhtml
command (read help doc for details), it can generate a HTML page for your buffer with style (css).
You can tun the generated html/css codes.
Upvotes: 1