How to use eclipse code style to highlight code in wordpress

I want to use the lightweight Google syntax syntax on my Wordpress blog. Because often I embed java code in my blog. But I don't like the default style for simple Google syntax syntax, how can I use the eclipse java code style?

thanks

+4
source share
2 answers

I recommend keeping up with the good Pyigs plugin for Wordpress.

The following URL is a blog post from Gwynne Raskind that talks about the Pyigs plugin that it has made but not yet released - it is currently under review for licensing and the post was only written yesterday , so it is definitely alive.

http://blog.darkrainfall.org/highlighting-source-code-in-wordpress-with-pygments/

EDIT: I know this is not an “eclipse style”, but to highlight the syntax for the Eclipse style, you probably have to rewrite the material yourself. Since Pigment highlighting - insane - is amazing, I thought this could be a good alternative.

OTHER CHANGE: If you use java , http://www.java2html.de/applet.html can be useful!

0
source

You may need to edit the language files in the / Scripts folder. It seems that there is no quick way to “themes”, although looking at the files, it will be a laborious process for editing colors for each language.

0
source

Source: https://habr.com/ru/post/1334476/


All Articles