Online demo

Here you can submit a piece of code and let it highlight in one of the supported languages.

Note that this is not meant to be a pastebin, you can find an advanced pastebin that uses Pygments as its highlighter at paste.pocoo.org.

These are the latest Pygments demo entries.

  1. xfcdcfxe (C++, 50 bytes) by anonymous  (1 year, 5 months ago)
  2. manifest (Python, 888 bytes) by anonymous  (1 year, 5 months ago)
  3. Batch ping/dns (Python, 3.1 KB) by anonymous  (1 year, 5 months ago)
  4. Testing output (Bash Session, 1.1 KB) by anonymous  (1 year, 5 months ago)
  5. main procedure for a package (Python, 614 bytes) by Pieter  (1 year, 5 months ago)
  6. atest (Java, 521 bytes) by nobody  (1 year, 5 months ago)
  7. Avoiding C# casting errors (C#, 435 bytes) by anonymous  (1 year, 5 months ago)
  8. Snippet of django admin model code (Diff, 891 bytes) by Packz Enoch  (1 year, 5 months ago)
  9. Objective-C++ Hello Program (Objective-C, 1.4 KB) by anonymous  (1 year, 5 months ago)
  10. It's a generic function for traversing arrays (C++, 5.0 KB) by Nathan  (1 year, 5 months ago)
  11. xml (XML, 775 bytes) by gino  (1 year, 5 months ago)
  12. FastCGI for Nginx and Zope (Nginx configuration file, 499 bytes) by anonymous  (1 year, 5 months ago)
  13. More fun with regexps in JavaScript (JavaScript, 1.1 KB) by anonymous  (1 year, 5 months ago)
  14. More Bourne regex examples, nested (Bash, 717 bytes) by Danny  (1 year, 5 months ago)
  15. function checking Bourne regex highlighting (Bash, 427 bytes) by Danny  (1 year, 5 months ago)
  16. semi-random chunk of ksh function (Bash, 708 bytes) by anonymous  (1 year, 5 months ago)
  17. brainfuck hello world (from wikipedia) (Brainfuck, 565 bytes) by anonymous  (1 year, 5 months ago)
  18. Fun with regexps in JavaScript (JavaScript, 198 bytes) by anonymous  (1 year, 5 months ago)
  19. JavaScript lexer test 2 (JavaScript, 160 bytes) by anonymous  (1 year, 5 months ago)
  20. java script (JavaScript, 642 bytes) by anonymous  (1 year, 5 months ago)

Go to page:    Previous page   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40   41   42   43   44   45   46   47   48   49   50   51   52   53   54   55   56   57   58   59   60   61   62   63   64   65   66   67   68   69   70   71   72   73   74   75   76   77   78   79   80   81   82   83   84   85   86   87   88   89   90   91   92   93     Next page

Submit a piece of code to highlight!

    ·    

    or enter code below: