1

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

1

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.