Gustavo Campos Gustavo Campos - 9 months ago 53
CSS Question

How can I show a code java or other Programming language in my site?

For example:

public class main(){
public static void main(String [] args)

I want show this in my website.

Answer Source

I think the easiest way is to use a JavaScript library, like Prism, or SyntaxHighlighter.