Pygments 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 dpaste.com.

These are the latest Pygments demo entries.

  1. test (CSS, 19.1 kB) by anonymous  (1 week, 5 days ago)
  2. rppa (Python, 18.0 kB) by liuxy  (1 week, 5 days ago)
  3. Mike's shopping list (Python 3, 1.5 kB) by Brendan  (1 week, 6 days ago)
  4. java code (Java, 111 Bytes) by anonymous  (1 week, 6 days ago)
  5. Learn YAML (YAML, 4.6 kB) by anonymous  (1 week, 6 days ago)
  6. sdd (CSS, 19 Bytes) by anonymous  (1 week, 6 days ago)
  7. mytest (Go, 694 Bytes) by anonymous  (1 week, 6 days ago)
  8. Scala (Rust, 1.0 kB) by anonymous  (1 week, 6 days ago)
  9. CC (C++, 30.8 kB) by anonymous  (2 weeks ago)
  10. LCD (C, 2.6 kB) by anonymous  (2 weeks ago)
  11. HttpClient tutorial (Java, 1.5 kB) by anonymous  (2 weeks ago)
  12. sdf (JavaScript, 121 Bytes) by anonymous  (2 weeks ago)
  13. Hello Go (Go, 67 Bytes) by anonymous  (2 weeks ago)
  14. less (LessCss, 409 Bytes) by Drink My Diesel  (2 weeks ago)
  15. sdsd (Python, 14.6 kB) by anonymous  (2 weeks ago)
  16. 1 (C#, 237 Bytes) by anonymous  (2 weeks ago)
  17. 1 (C#, 220 Bytes) by anonymous  (2 weeks ago)
  18. less (LessCss, 225 Bytes) by anonymous  (2 weeks ago)
  19. less (LessCss, 517 Bytes) by anonymous  (2 weeks ago)
  20. 1 (C#, 14 Bytes) by anonymous  (2 weeks 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   94   95   96   97   98   99   100   101   102   103   104   105   106   107   108   109   110   111   112   113   114   115   116   117   118   119   120   121   122   123   124   125   126   127   128   129   130   131   132   133   134   135   136   137   138   139   140   141   142   143   144   145   146   147   148   149   150   151   152   153   154   155   156   157   158   159   160   161   162   163   164   165   166   167   168   169   170   171   172   173   174   175   176   177   178   179     Next page

Try it out!

    ·    

    or enter code below: