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