You are not logged in. Please login at www.codechef.com to post your questions!

×

Is it possible to use code highlighting?

On StackOverflow.com they are using markdown too and it is possible to use syntax highlighting for code, there is some example.

Is it possible to use it here too?

asked 27 Apr '12, 13:05

betlista's gravatar image

3★betlista ♦♦
16.9k49115225
accept rate: 11%


I implemented extension that enables this, read more on CodeForces.

You can try on this simple HelloWorld examples:

#include <stdio.h>

int main() {
    printf( "hello world!!!\n" );
    return 0;
}

or similar Java code:

class HelloWorld {

    public static void main( String[] args ) {
        System.out.println( "hello world!!!" );
    }

}

All requests for enhancements are welcomed.

link

answered 27 May '12, 03:06

betlista's gravatar image

3★betlista ♦♦
16.9k49115225
accept rate: 11%

edited 27 May '12, 03:39

Answer is hidden as author is suspended. Click here to view.

answered 14 Feb, 13:14

ardamax2's gravatar image

0★ardamax2
(suspended)
accept rate: 0%

Answer is hidden as author is suspended. Click here to view.

answered 14 Feb, 13:20

ardamax's gravatar image

0★ardamax
(suspended)
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×228
×1

question asked: 27 Apr '12, 13:05

question was seen: 1,116 times

last updated: 14 Feb, 13:20