How do I enter code samples with syntax highlighted in my posts?


427
views
0
10 months ago by
Community: AllAnswered

1 Answer


2
10 months ago by

In editor, click the code sample icon, 

Select the language of the code sample

Then paste the code sample in the text area and click OK.

 You will get the code sample with syntax highlight.

/* HelloWorld.java
 */

public class HelloWorld
{
	public static void main(String[] args) {
		System.out.println("Hello World!");
	}
}

If you see any language you want us to support, please send us a message and we will look into it.

 

Please login to add an answer/comment or follow this question.

Similar posts:
Search »