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. toggle display on change pin (C, 597 bytes) by meloun  (11 months, 3 weeks ago)
  2. toggle display on change pin (C, 438 bytes) by meloun  (11 months, 3 weeks ago)
  3. toggle display on change pin (C, 310 bytes) by meloun  (11 months, 3 weeks ago)
  4. test (JavaScript, 38 bytes) by foo  (11 months, 3 weeks ago)
  5. stratified (Python, 3.9 KB) by anonymous  (11 months, 3 weeks ago)
  6. Console session (Python console session, 7.7 KB) by anonymous  (11 months, 3 weeks ago)
  7. rulePrep (Python, 1.9 KB) by anonymous  (11 months, 3 weeks ago)
  8. evil eval (Bash, 111 bytes) by the big e  (11 months, 3 weeks ago)
  9. evil eval (Bash, 113 bytes) by the big e  (11 months, 3 weeks ago)
  10. test code (Python, 30 bytes) by anonymous  (11 months, 3 weeks ago)
  11. bbcode test (BBCode, 1.0 KB) by ojii  (11 months, 4 weeks ago)
  12. SQLite Database Initialization (Java, 465 bytes) by CallToPower  (11 months, 4 weeks ago)
  13. gcj 1c a in (ABAP, 788 bytes) by anonymous  (11 months, 4 weeks ago)
  14. gcj (C++, 1.4 KB) by anonymous  (11 months, 4 weeks ago)
  15. Code Jam 1B probB (passed only small input) (C++, 769 bytes) by anonymous  (11 months, 4 weeks ago)
  16. Code Jam 1B probA (C++, 2.4 KB) by anonymous  (11 months, 4 weeks ago)
  17. php (PHP, 31.9 KB) by anonymous  (12 months ago)
  18. You'll highlight this correctly about half the time :) (Perl, 134 bytes) by anonymous  (12 months ago)
  19. Lua (Scheme, 963 bytes) by anonymous  (12 months ago)
  20. prova (C, 322 bytes) by anonymous  (12 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: