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. Gherkin demo (Gherkin, 453 bytes) by hdg  (1 day, 16 hours ago)
  2. return_time (Python 3, 332 bytes) by anonymous  (1 day, 19 hours ago)
  3. Why you should use languages with type inference (Java, 927 bytes) by dflemstr  (1 day, 20 hours ago)
  4. sample XML (XML, 112 bytes) by anonymous  (1 day, 21 hours ago)
  5. string bug (Lua, 280 bytes) by anonymous  (2 days, 2 hours ago)
  6. Test (C#, 818 bytes) by anonymous  (2 days, 15 hours ago)
  7. state (Scala, 856 bytes) by dflemstr  (2 days, 21 hours ago)
  8. Cold Fusion (Coldufsion HTML, 153 bytes) by anonymous  (3 days, 17 hours ago)
  9. s (Python, 9 bytes) by anonymous  (4 days ago)
  10. x (Python, 145 bytes) by anonymous  (4 days, 1 hour ago)
  11. x (Python, 63 bytes) by anonymous  (4 days, 1 hour ago)
  12. sdsd (C#, 1.4 KB) by anonymous  (4 days, 5 hours ago)
  13. ARC4 class (Python, 1.5 KB) by kenkeiras  (4 days, 14 hours ago)
  14. disk ligth p1 (PHP, 280 bytes) by anonymous  (4 days, 21 hours ago)
  15. pygments test (C++, 812 bytes) by marek  (5 days, 6 hours ago)
  16. singleton (PHP, 252 bytes) by Pavel  (5 days, 7 hours ago)
  17. xxx (Java, 140 bytes) by anonymous  (5 days, 9 hours ago)
  18. Palindrome Reduction (Python, 1.1 KB) by Kaleb Hornsby  (5 days, 11 hours ago)
  19. For a given particle size, converts cloud optical thickness from one wavelength to another. (Python, 2.8 KB) by Geoff C.  (5 days, 17 hours ago)
  20. PackageXml (XML, 313 bytes) by anonymous  (1 week 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: