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. wallpaper change (Python, 1016 bytes) by Mike  (1 day, 4 hours ago)
  2. foo (Common Lisp, 49 bytes) by anonymous  (1 day, 19 hours ago)
  3. aa (Java, 4.9 KB) by Devin  (2 days, 7 hours ago)
  4. chromium cookies (Python, 1.1 KB) by sleepwalker  (3 days, 2 hours ago)
  5. 1 (C#, 1.1 KB) by nwm  (3 days, 8 hours ago)
  6. Shellsort (C, 343 bytes) by anonymous  (4 days, 7 hours ago)
  7. php class foclient (PHP, 376 bytes) by anonymous  (4 days, 18 hours ago)
  8. Creating a PDF in memory from within a web application (Python, 706 bytes) by anonymous  (5 days, 1 hour ago)
  9. DocTestFinder (Python 3, 694 bytes) by Joschua  (5 days, 23 hours ago)
  10. Gherkin demo (Gherkin, 453 bytes) by hdg  (1 week ago)
  11. return_time (Python 3, 332 bytes) by anonymous  (1 week ago)
  12. Why you should use languages with type inference (Java, 927 bytes) by dflemstr  (1 week ago)
  13. sample XML (XML, 112 bytes) by anonymous  (1 week ago)
  14. string bug (Lua, 280 bytes) by anonymous  (1 week, 1 day ago)
  15. Test (C#, 818 bytes) by anonymous  (1 week, 1 day ago)
  16. state (Scala, 856 bytes) by dflemstr  (1 week, 1 day ago)
  17. Cold Fusion (Coldufsion HTML, 153 bytes) by anonymous  (1 week, 2 days ago)
  18. s (Python, 9 bytes) by anonymous  (1 week, 3 days ago)
  19. x (Python, 145 bytes) by anonymous  (1 week, 3 days ago)
  20. x (Python, 63 bytes) by anonymous  (1 week, 3 days 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     Next page

Submit a piece of code to highlight!

    ·    

    or enter code below: