yes.
[[include :snippets:syntax-start type=java]]
/**
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
[[include :snippets:syntax-end]]
That would be great. I'm looking forward to seeing Wikidot's design for the new editor… so perhaps it could be suggested then, once the basics have been drawn up @ the projects site.
James, I started this last night on the Syntax Highlighter for Wikidot but I have assignments to do…. xD
Here is what I got done: http://my-sandbox.wikidot.com/start
I need code blocks with C# highlighting and the regular Wikidot ones don't support this… so thanks! ;-)
Edit: Actually, I had to use < just to get a less-than symbol to show up on the page, otherwise it broke it. Am going to use the C++ highlighting in the default wikidot code blocks for now.
If that's the case, then it just needs to be added to this snippet. If tsangk hasn't done it later on, I'll add it myself. I should be head-first into exam revision at the moment, so I'll avoid doing it just yet.