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


267
views
0
6 months ago by
add commentfollow this post modified 6 months ago by AllAnswered Support   • written 6 months ago by AllAnswered Support  

1 Answer


2
6 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.

 

add comment written 6 months ago by AllAnswered Support  
Please log in to add an answer/comment or follow this question.

Share this question


Similar posts:
Search »